Restore the IFS earlier.
Suggested by Tim Van Holder.
+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...
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]/* \
;;
esac
done
- IFS=$ac_save_IFS
])dnl
if test "${ac_cv_path_install+set}" = set; then
INSTALL=$ac_cv_path_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]/* \
;;
esac
done
- IFS=$ac_save_IFS
])dnl
if test "${ac_cv_path_install+set}" = set; then
INSTALL=$ac_cv_path_install