From: David MacKenzie Date: Fri, 6 May 1994 11:17:47 +0000 (+0000) Subject: (AC_PROG_INSTALL): Print "checking" messages even if X-Git-Tag: fsf-origin~613 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=163898abcf9eeb185e6ebceb78afab41da9aadee;p=thirdparty%2Fautoconf.git (AC_PROG_INSTALL): Print "checking" messages even if using cached values. Use AC_TEST_LINK instead of AC_COMPILE_CHECK. --- diff --git a/acspecific.m4 b/acspecific.m4 index 2f22ca3d4..feeb2ceba 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -231,10 +231,10 @@ define(AC_PROG_INSTALL, # # Avoid using ./install, which might have been erroneously created # by make from ./install.sh. -if test "z${INSTALL}" = "z" ; then +AC_CHECKING(for a BSD compatible install) +if test -z "${INSTALL}"; then AC_CACHE_VAL(ac_cv_program_INSTALL, -[ AC_CHECKING(for a BSD compatible install) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" +[ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do case "$ac_dir" in ''|.|/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;; diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 2f22ca3d4..feeb2ceba 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -231,10 +231,10 @@ define(AC_PROG_INSTALL, # # Avoid using ./install, which might have been erroneously created # by make from ./install.sh. -if test "z${INSTALL}" = "z" ; then +AC_CHECKING(for a BSD compatible install) +if test -z "${INSTALL}"; then AC_CACHE_VAL(ac_cv_program_INSTALL, -[ AC_CHECKING(for a BSD compatible install) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" +[ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do case "$ac_dir" in ''|.|/etc|/sbin|/usr/sbin|/usr/etc|/usr/afsws/bin|/usr/ucb) ;;