[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf 2.60 and pdksh

From: Ralf Wildenhues
Subject: Re: autoconf 2.60 and pdksh
Date: Sun, 10 Sep 2006 13:06:55 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Arkadiusz,

* Arkadiusz Miskiewicz wrote on Sat, Sep 09, 2006 at 12:48:08PM CEST:
> On Saturday 09 September 2006 12:27, Arkadiusz Miskiewicz wrote:
> >
> > There is problem with new autoconf 2.60. It produces configure which
> > contains:
> In other words - set -o posix is sometimes harmful. KDE provides old version 
> of libtool macro which has such broken sed .... rule.

First: it's a bug in pdksh that `set -o posix' causes the shell to
misinterpret "...`...\"...\"...`..."

Don't believe the comments in the source code of pdksh.  The authors
have misunderstood POSIX in this respect.

And yes, in general "set -o posix" is beneficial for configure scripts.
And no, not all shells except zsh get this setting with Autoconf 2.60.
There are many more shells out there than those that exist on GNU/Linux.

> I'll guess it's easier for kde to update their libtool macro.

Exactly.  The code you cite is from an old version of Libtool.  1.5.22
does not contain it, and as far as I know, should not have this problem.
If you can find otherwise, please report to bug-libtool, we'll be happy
to fix it then.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]