autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

36-ac-prog-install-dos.patch


From: Akim Demaille
Subject: 36-ac-prog-install-dos.patch
Date: Sun, 25 Feb 2001 11:47:53 +0100

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * acspecific.m4 (AC_PROG_INSTALL): Use ac_path_separator.
        Restore the IFS earlier.
        Suggested by Tim Van Holder.

Index: acspecific.m4
--- acspecific.m4 Sat, 24 Feb 2001 20:19:04 +0100 akim (ace/25_acspecific 1.124 
644)
+++ acspecific.m4 Sun, 25 Feb 2001 09:56:42 +0100 akim (ace/25_acspecific 1.124 
644)
@@ -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_DEFUN([AC_PROG_INSTALL],
       ;;
     esac
   done
-  IFS=$ac_save_IFS
 ])dnl
   if test "${ac_cv_path_install+set}" = set; then
     INSTALL=$ac_cv_path_install



reply via email to

[Prev in Thread] Current Thread [Next in Thread]