[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use the pathsep deduced by autoconf
From: |
Akim Demaille |
Subject: |
Re: Use the pathsep deduced by autoconf |
Date: |
07 Sep 2001 10:02:55 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) |
@@ -325,7 +309,7 @@
#
# So, first we look for a working echo in the user's PATH.
- IFS="${IFS= }"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
+ IFS="${IFS= }"; lt_save_ifs="$IFS"; IFS="${IFS}$ac_path_separator"
for dir in $PATH /usr/ucb; do
IFS="$lt_save_ifs"
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
BTW, now Autoconf guarantee a proper IFS, you no longer need to preset
it. But I don't understand why you don't have just
IFS=$PATH_SEPARATOR
here. Why do you keep ` ' etc.?