[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_PATH_PROG broken (2.52f)
From: |
Akim Demaille |
Subject: |
Re: AC_PATH_PROG broken (2.52f) |
Date: |
07 Feb 2002 16:48:40 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
Thanks, I'm applying this:
Index: ChangeLog
from Akim Demaille <address@hidden>
Fix Autoconf PR/209.
Also reported by Frank Denis.
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
Index: NEWS
===================================================================
RCS file: /cvsroot/autoconf/autoconf/NEWS,v
retrieving revision 1.217
diff -u -u -r1.217 NEWS
--- NEWS 7 Feb 2002 12:07:20 -0000 1.217
+++ NEWS 7 Feb 2002 15:47:20 -0000
@@ -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
Index: THANKS
===================================================================
RCS file: /cvsroot/autoconf/autoconf/THANKS,v
retrieving revision 1.81
diff -u -u -r1.81 THANKS
--- THANKS 6 Feb 2002 17:51:01 -0000 1.81
+++ THANKS 7 Feb 2002 15:47:20 -0000
@@ -52,6 +52,7 @@
Ezra Peisach address@hidden
Felix Lee address@hidden
Franc,ois Pinard address@hidden
+Frank Denis address@hidden
Gary V. Vaughan address@hidden
Geir Ove Myhr address@hidden
Gerrit P. Haase address@hidden
Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.584
diff -u -u -r1.584 autoconf.texi
--- doc/autoconf.texi 7 Feb 2002 09:45:55 -0000 1.584
+++ doc/autoconf.texi 7 Feb 2002 15:47:20 -0000
@@ -3152,8 +3152,8 @@
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
Index: lib/m4sugar/m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.73
diff -u -u -r1.73 m4sh.m4
--- lib/m4sugar/m4sh.m4 5 Feb 2002 08:12:46 -0000 1.73
+++ lib/m4sugar/m4sh.m4 7 Feb 2002 15:47:21 -0000
@@ -604,7 +604,7 @@
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])])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: AC_PATH_PROG broken (2.52f),
Akim Demaille <=