Hi,

There is problem with new autoconf 2.60. It produces configure which contains:

no_glob_subst='s/\*/\\\*/g'
[...]
output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e 
\"$no_glob_subst\"`"

but under pdksh it's broken:

[EMAIL PROTECTED] ~]$ cat a.sh
set -x
set -o posix
no_glob_subst='s/\*/\\\*/g'
output_verbose_link_cmd="`echo test | sed -e \"$no_glob_subst\"`"


with set -o posix
[EMAIL PROTECTED] ~]$ sh -c ./a.sh
+ set -o posix
+ no_glob_subst=s/\*/\\\*/g
+ echo test
+ sed -e "s/\*/\\\*/g"
sed: -e expression #1, char 1: unknown command: `"'
+ output_verbose_link_cmd=


without set -o posix it works
[EMAIL PROTECTED] ~]$ sh -c ./a.sh
+ no_glob_subst=s/\*/\\\*/g
+ echo test
+ sed -e s/\*/\\\*/g
+ output_verbose_link_cmd=test

autoconf 2.59 sets set -o posix only for bash while 2.60
does it for all shells beside zsh

-- 
Arkadiusz Miƛkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/


Reply via email to