]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix m4 underquoting in AC_PROG_INSTALL.
authorEric Blake <ebb9@byu.net>
Fri, 24 Oct 2008 23:10:08 +0000 (17:10 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 24 Oct 2008 23:14:40 +0000 (17:14 -0600)
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Produce accurate
character ranges.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/autoconf/programs.m4

index a485066ba11483f6b92a41151bc6e4b0c0aba8a7..6be628cb3f5adcd6e8d604459e948d56ddc17d4b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-10-24  Eric Blake  <ebb9@byu.net>
 
+       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 $@.
 
index 45a74b5c4da0547b4696ad1ddf0c21d8413207c6..6e79cdc9b916455c5a8097d2934425a1c9980eb2 100644 (file)
@@ -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.