[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use the pathsep deduced by autoconf
From: |
Tim Van Holder |
Subject: |
Re: Use the pathsep deduced by autoconf |
Date: |
07 Sep 2001 10:44:39 +0200 |
> - 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.?
In this case, this seems obvious: 'for dir in $PATH /usr/ucb' uses a
space as separator.