Greg Wooledge <[EMAIL PROTECTED]> wrote:

> On Sun, Apr 22, 2007 at 12:17:57PM +0200, Thomas Schmitt wrote:
> > I'll have to correct that via sed.
> >    test -z 1 && for ac_header in dummy
> > should be a single line repair of
> >    for ac_header in
>
> I don't understand this "repair".  test -z 1 will always return "false",
> because "1" is not a zero-length string.  So you might as well just comment
> out the "for ac_header in dummy" line altogether.
>
> As far as the original code goes, I'd have to see the entire "for"
> loop to know what the actual problem is.  Since I don't have access to
> a Solaris system (with its ancient pre-POSIX /bin/sh), and since dash

Sorry, you do not seem to understand POSIX :-(

While Solaris is fully POSIX-1-2001 compliant, Linux is not....

POSIX is a _source_ standard that does not deal with path names at all.
POSIX does not care about what you get when you type /bin/sh, POSIX grants you 
that if you call:

PATH=`getconf PATH`
sh

you get a POSIX shell.

An autoconf utility that depends on bash instead of the Bourne shell is not
portable.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to