cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: b1826d81f breaks configure

From: Tor Arntsen <tor_at_spacetec.no>
Date: Fri, 25 Jan 2013 15:18:17 +0100

On Fri, Jan 25, 2013 at 2:31 PM, Yang Tse <yangsita_at_gmail.com> wrote:

> Thanks a lot for your fine analysis. The 'variable assignment of
> subshell output bashism' should be fixed now with commit a76ea8b7.

Thanks! I can confirm it's fixed (tested on AIX with its default ksh shell)

I just found out that it's possible to test for bashisms on Linux as
well, not with the 'ksh' shell from 'pdksh' - this one isn't truly ksh
compatible, but many modern Linux distros now come with /bin/dash
(it's even the default sh on Debian), and that one will do:

$ dash ./configure
./configure: 82: ./configure: Syntax error: "(" unexpected
(the above was of course before the last commit)

-Tor

CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be
proprietary, confidential or subject to export regulations, and is only meant
for the intended recipient(s). Any disclosure, copying, distribution or use is
prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in
error, please delete it immediately from your system and notify the sender
properly.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-01-25