From: Eric Blake Date: Fri, 24 Oct 2008 23:10:08 +0000 (-0600) Subject: Fix m4 underquoting in AC_PROG_INSTALL. X-Git-Tag: v2.63b~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8425d6363bf57cfef26496576e9ba5f5dc51b67b;p=thirdparty%2Fautoconf.git Fix m4 underquoting in AC_PROG_INSTALL. * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Produce accurate character ranges. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index a485066ba..6be628cb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-10-24 Eric Blake + 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 $@. diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4 index 45a74b5c4..6e79cdc9b 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.