[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoconf 2.60 and pdksh
From: |
Arkadiusz Miskiewicz |
Subject: |
autoconf 2.60 and pdksh |
Date: |
Sat, 9 Sep 2006 12:27:43 +0200 |
User-agent: |
KMail/1.9.4 |
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:
address@hidden ~]$ 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
address@hidden ~]$ 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
address@hidden ~]$ 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/
- autoconf 2.60 and pdksh,
Arkadiusz Miskiewicz <=