]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_PROG_INSTALL): Fix nesting in
authorDavid MacKenzie <djm@djmnet.org>
Fri, 6 May 1994 05:30:23 +0000 (05:30 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Fri, 6 May 1994 05:30:23 +0000 (05:30 +0000)
cache use.

acspecific.m4
lib/autoconf/specific.m4

index 850d142d49e8dff364ed258efe890fce1624e179..2f22ca3d43f8a5902df883de771ffbdfd2696c7e 100644 (file)
@@ -232,7 +232,7 @@ 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_CACHE_VAL(ac_cv_program_INSTALL,
+AC_CACHE_VAL(ac_cv_program_INSTALL,
 [  AC_CHECKING(for a BSD compatible install)
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
   for ac_dir in $PATH; do
@@ -257,10 +257,10 @@ if test "z${INSTALL}" = "z" ; then
     esac
   done
   IFS="$ac_save_ifs"
+  # As a last resort, use the slow shell script.
+  test -z "$ac_cv_program_INSTALL" && ac_cv_program_INSTALL="$ac_install_sh"])dnl
+  INSTALL="$ac_cv_program_INSTALL"
 fi
-# As a last resort, use the slow shell script.
-test -z "$ac_cv_program_INSTALL" && ac_cv_program_INSTALL="$ac_install_sh"])dnl
-INSTALL="$ac_cv_program_INSTALL"
 AC_SUBST(INSTALL)dnl
 AC_VERBOSE(setting INSTALL to $INSTALL)
 
index 850d142d49e8dff364ed258efe890fce1624e179..2f22ca3d43f8a5902df883de771ffbdfd2696c7e 100644 (file)
@@ -232,7 +232,7 @@ 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_CACHE_VAL(ac_cv_program_INSTALL,
+AC_CACHE_VAL(ac_cv_program_INSTALL,
 [  AC_CHECKING(for a BSD compatible install)
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
   for ac_dir in $PATH; do
@@ -257,10 +257,10 @@ if test "z${INSTALL}" = "z" ; then
     esac
   done
   IFS="$ac_save_ifs"
+  # As a last resort, use the slow shell script.
+  test -z "$ac_cv_program_INSTALL" && ac_cv_program_INSTALL="$ac_install_sh"])dnl
+  INSTALL="$ac_cv_program_INSTALL"
 fi
-# As a last resort, use the slow shell script.
-test -z "$ac_cv_program_INSTALL" && ac_cv_program_INSTALL="$ac_install_sh"])dnl
-INSTALL="$ac_cv_program_INSTALL"
 AC_SUBST(INSTALL)dnl
 AC_VERBOSE(setting INSTALL to $INSTALL)