Fix Autoconf PR/209.

Also reported by Frank Denis.
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
This commit is contained in:
Akim Demaille 2002-02-07 15:49:31 +00:00
parent 704a0d0ce2
commit 0913170fae
5 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2002-02-07 Akim Demaille <akim@epita.fr>
Fix Autoconf PR/209.
Also reported by Frank Denis.
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
2002-02-07 Akim Demaille <akim@epita.fr>
Fix Autoconf PR/207:

2
NEWS
View File

@ -64,6 +64,8 @@
- Precious variables accumulation
config.status could stack several copies of the precious variables
assignments.
- AC_PATH_PROG and family.
Works properly when given a literal path.
** C Macros

1
THANKS
View File

@ -52,6 +52,7 @@ Eric Mumpower nocturne@mit.edu
Ezra Peisach epeisach@zif.mit.edu
Felix Lee flee@cygnus.com
Franc,ois Pinard pinard@iro.umontreal.ca
Frank Denis j@jedi.claranet.fr
Gary V. Vaughan gvaughan@oranda.demon.co.uk
Geir Ove Myhr myhr@stud.fim.ntnu.no
Gerrit P. Haase gp@familiehaase.de

View File

@ -3152,8 +3152,8 @@ be in the user's @code{PATH}, you can pass a modified path to use
instead, like this:
@example
AC_PATH_PROG(INETD, inetd, /usr/libexec/inetd,
$PATH:/usr/libexec:/usr/sbin:/usr/etc:etc)
AC_PATH_PROG([INETD], [inetd], [/usr/libexec/inetd],
[$PATH:/usr/libexec:/usr/sbin:/usr/etc:etc])
@end example
You are strongly encouraged to declare the @var{variable} passed to

View File

@ -604,7 +604,7 @@ fi
m4_define([_AS_PATH_WALK],
[AS_REQUIRE([_AS_PATH_SEPARATOR_PREPARE])dnl
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
AS_LITERAL_IF([m4_default([$1], [$PATH])],
AS_LITERAL_IF(m4_default([$1], [$PATH]),
[as_dummy="$1"
for as_dir in $as_dummy],
[for as_dir in m4_default([$1], [$PATH])])