]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
More MS-DOS support.
authorAkim Demaille <akim@epita.fr>
Mon, 22 May 2000 10:29:46 +0000 (10:29 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 22 May 2000 10:29:46 +0000 (10:29 +0000)
* acgeneral.m4 (_AC_OUTPUT_FILES): Fix the computation of
`ac_file_inputs' for `$ac_given_srcdir' containing a colon.
(AC_CHECK_MEMBERS, AC_PATH_PROG): s/ac_save_ifs/ac_save_IFS/.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index ee2a121ea873650632bdfdd11a3b0cbfa36b65e3..4b9ecad45a2ef1e23026586693031ff05e61638d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-05-22 Mark Elbrecht <snowball3@bigfoot.com>,  Eli Zaretskii <eliz@gnu.org>
+
+       More MS-DOS support.
+
+       * acgeneral.m4 (_AC_OUTPUT_FILES): Fix the computation of
+       `ac_file_inputs' for `$ac_given_srcdir' containing a colon.
+       (AC_CHECK_MEMBERS, AC_PATH_PROG): s/ac_save_ifs/ac_save_IFS/.
+
 2000-05-22  Akim Demaille  <akim@epita.fr>
 
        * acspecific.m4 (AC_FUNC_CHOWN): New macro, based on Jim
index 4613b1797cc87b53ca6a965e58801805f9faa308..f23a7b46f60e43f38725c99e7f38c64063eaf3fa 100644 (file)
@@ -2450,7 +2450,7 @@ $2],
 # Work like `which -a NAME' in PATH, even if NAME is not executable.
 # Can be used inside backquotes.
 define([_AC_WHICH_A],
-[ac_save_ifs=$IFS; IFS=':'
+[ac_save_IFS=$IFS; IFS=':'
 dnl $ac_dummy forces splitting on constant user-supplied paths.
 dnl POSIX.2 word splitting is done only on the output of word expansions,
 dnl not every word.  This closes a longstanding sh security hole.
@@ -2461,7 +2461,7 @@ for ac_dir in $ac_dummy; do
     echo "$ac_dir/$1"
   fi
 done
-IFS=$ac_save_ifs
+IFS=$ac_save_IFS
 ])
 
 
@@ -2550,7 +2550,7 @@ AC_CACHE_VAL(ac_cv_path_$1,
   ac_cv_path_$1="$$1" # Let the user override the test with a path.
   ;;
   *)
-  ac_save_ifs=$IFS; IFS=':'
+  ac_save_IFS=$IFS; IFS=':'
 dnl $ac_dummy forces splitting on constant user-supplied paths.
 dnl POSIX.2 word splitting is done only on the output of word expansions,
 dnl not every word.  This closes a longstanding sh security hole.
@@ -2562,7 +2562,7 @@ dnl not every word.  This closes a longstanding sh security hole.
       break
     fi
   done
-  IFS=$ac_save_ifs
+  IFS=$ac_save_IFS
 dnl If no 3rd arg is given, leave the cache variable unset,
 dnl so AC_PATH_PROGS will keep looking.
 ifval([$3], [  test -z "$ac_cv_path_$1" && ac_cv_path_$1="$3"
@@ -4205,8 +4205,8 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
 
   # Don't redirect the output to AC_FILE directly: use `mv' so that
   # updating is atomic, and doesn't need trapping.
-  ac_file_inputs=`echo "$ac_file_in" |
-                  sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"`
+  ac_file_inputs=`IFS=:
+                  for f in $ac_file_in; do echo $ac_given_srcdir/$f; done`
   for ac_file_input in $ac_file_inputs;
   do
     test -f "$ac_file_input" ||
index 4613b1797cc87b53ca6a965e58801805f9faa308..f23a7b46f60e43f38725c99e7f38c64063eaf3fa 100644 (file)
@@ -2450,7 +2450,7 @@ $2],
 # Work like `which -a NAME' in PATH, even if NAME is not executable.
 # Can be used inside backquotes.
 define([_AC_WHICH_A],
-[ac_save_ifs=$IFS; IFS=':'
+[ac_save_IFS=$IFS; IFS=':'
 dnl $ac_dummy forces splitting on constant user-supplied paths.
 dnl POSIX.2 word splitting is done only on the output of word expansions,
 dnl not every word.  This closes a longstanding sh security hole.
@@ -2461,7 +2461,7 @@ for ac_dir in $ac_dummy; do
     echo "$ac_dir/$1"
   fi
 done
-IFS=$ac_save_ifs
+IFS=$ac_save_IFS
 ])
 
 
@@ -2550,7 +2550,7 @@ AC_CACHE_VAL(ac_cv_path_$1,
   ac_cv_path_$1="$$1" # Let the user override the test with a path.
   ;;
   *)
-  ac_save_ifs=$IFS; IFS=':'
+  ac_save_IFS=$IFS; IFS=':'
 dnl $ac_dummy forces splitting on constant user-supplied paths.
 dnl POSIX.2 word splitting is done only on the output of word expansions,
 dnl not every word.  This closes a longstanding sh security hole.
@@ -2562,7 +2562,7 @@ dnl not every word.  This closes a longstanding sh security hole.
       break
     fi
   done
-  IFS=$ac_save_ifs
+  IFS=$ac_save_IFS
 dnl If no 3rd arg is given, leave the cache variable unset,
 dnl so AC_PATH_PROGS will keep looking.
 ifval([$3], [  test -z "$ac_cv_path_$1" && ac_cv_path_$1="$3"
@@ -4205,8 +4205,8 @@ AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
 
   # Don't redirect the output to AC_FILE directly: use `mv' so that
   # updating is atomic, and doesn't need trapping.
-  ac_file_inputs=`echo "$ac_file_in" |
-                  sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"`
+  ac_file_inputs=`IFS=:
+                  for f in $ac_file_in; do echo $ac_given_srcdir/$f; done`
   for ac_file_input in $ac_file_inputs;
   do
     test -f "$ac_file_input" ||