[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_PROG_INSTALL underquoting
From: |
Eric Blake |
Subject: |
AC_PROG_INSTALL underquoting |
Date: |
Fri, 24 Oct 2008 23:14:25 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
This bug has been present for years; in particular, the [cC] glob hasn't worked
since programs.m4 was introduced in 2001.
From: Eric Blake <address@hidden>
Date: Fri, 24 Oct 2008 17:10:08 -0600
Subject: [PATCH] Fix m4 underquoting in AC_PROG_INSTALL.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Produce accurate
character ranges.
Signed-off-by: Eric Blake <address@hidden>
---
ChangeLog | 4 ++++
lib/autoconf/programs.m4 | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a485066..2a57e79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-10-24 Eric Blake <address@hidden>
+ Fix m4 underquoting in AC_PROG_INSTALL.
+ * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Produce accurate
+ character ranges.
+
Speed up AC_CHECK_HEADER.
* lib/autoconf/headers.m4 (AC_CHECK_HEADER): Factor out address@hidden
diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4
index 45a74b5..6e79cdc 100644
--- a/lib/autoconf/programs.m4
+++ b/lib/autoconf/programs.m4
@@ -565,13 +565,13 @@ AC_MSG_CHECKING([for a BSD-compatible install])
if test -z "$INSTALL"; then
AC_CACHE_VAL(ac_cv_path_install,
[_AS_PATH_WALK([$PATH],
-[# Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
+[[# Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in @%:@((
./ | .// | /[cC]/* | \
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
/usr/ucb/* ) ;;
- *)
+ *)]
# OSF1 and SCO ODT 3.0 have their own names for install.
# Don't use installbsd from OSF since it installs stuff as root
# by default.
--
1.6.0.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AC_PROG_INSTALL underquoting,
Eric Blake <=