]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acspecific.m4 (AC_PROG_INSTALL): Use ac_path_separator.
authorAkim Demaille <akim@epita.fr>
Sun, 25 Feb 2001 10:44:15 +0000 (10:44 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 25 Feb 2001 10:44:15 +0000 (10:44 +0000)
Restore the IFS earlier.
Suggested by Tim Van Holder.

ChangeLog
acspecific.m4
lib/autoconf/specific.m4

index 752623bbc24e574fa9dfbe6c4fccd8561555419a..b26c90d5f3b2082979542d8e3c7d832213bdf307 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-02-25  Akim Demaille  <akim@epita.fr>
+
+       * acspecific.m4 (AC_PROG_INSTALL): Use ac_path_separator.
+       Restore the IFS earlier.
+       Suggested by Tim Van Holder.
+
 2001-02-25  Akim Demaille  <akim@epita.fr>
 
        * m4sh.m4 (_AS_TEST_PREPARE): Rename as...
index d81f0003e19a535fcef454d6e475bc9e35cf6f2f..73c4366cf8540a83e0b31f0748fb7e6b3d23da1f 100644 (file)
@@ -205,8 +205,9 @@ AC_DEFUN([AC_PROG_INSTALL],
 AC_MSG_CHECKING([for a BSD compatible install])
 if test -z "$INSTALL"; then
 AC_CACHE_VAL(ac_cv_path_install,
-[  ac_save_IFS=$IFS; IFS=':'
+[  ac_save_IFS=$IFS; IFS=$ac_path_separator
   for ac_dir in $PATH; do
+    IFS=$ac_save_IFS
     # Account for people who put trailing slashes in PATH elements.
     case $ac_dir/ in
     / | ./ | .// | /[cC]/* \
@@ -235,7 +236,6 @@ AC_CACHE_VAL(ac_cv_path_install,
       ;;
     esac
   done
-  IFS=$ac_save_IFS
 ])dnl
   if test "${ac_cv_path_install+set}" = set; then
     INSTALL=$ac_cv_path_install
index d81f0003e19a535fcef454d6e475bc9e35cf6f2f..73c4366cf8540a83e0b31f0748fb7e6b3d23da1f 100644 (file)
@@ -205,8 +205,9 @@ AC_DEFUN([AC_PROG_INSTALL],
 AC_MSG_CHECKING([for a BSD compatible install])
 if test -z "$INSTALL"; then
 AC_CACHE_VAL(ac_cv_path_install,
-[  ac_save_IFS=$IFS; IFS=':'
+[  ac_save_IFS=$IFS; IFS=$ac_path_separator
   for ac_dir in $PATH; do
+    IFS=$ac_save_IFS
     # Account for people who put trailing slashes in PATH elements.
     case $ac_dir/ in
     / | ./ | .// | /[cC]/* \
@@ -235,7 +236,6 @@ AC_CACHE_VAL(ac_cv_path_install,
       ;;
     esac
   done
-  IFS=$ac_save_IFS
 ])dnl
   if test "${ac_cv_path_install+set}" = set; then
     INSTALL=$ac_cv_path_install