[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 09/12] use a shell function for AC_CHECK_TYPE
From: |
Eric Blake |
Subject: |
Re: [PATCH 09/12] use a shell function for AC_CHECK_TYPE |
Date: |
Mon, 03 Nov 2008 06:16:07 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ralf Wildenhues on 11/2/2008 9:04 AM:
> Hi Paolo,
>
> * Paolo Bonzini wrote on Sun, Nov 02, 2008 at 09:27:42AM CET:
>> By a completely different approach, would it make sense to switch from
>> cat to AS_ECHO in order to build the conftest.c files? That would save
>> forks for *all* tests...
>
> I don't remember the details, but there were problems with long output
> and the various echo replacements used in ltmain.sh. It's grossly ugly,
> yes, but I did have to debug such a failure once (probably on a Solaris
> systems with its broken printf), and it wasn't fun.
Well, gnulib-tool's choice of echo replacements currently causes Solaris
/bin/sh to dump core, so there are still bugs if you make the wrong
choice. But m4sh's choice of echo replacements already tries to detect
the case of printf that can't handle long string; are we truly robust in
that area, or just lucky so far that none of our strings are long?
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkO+ZcACgkQ84KuGfSFAYDxqgCgvH8ghThQ9lG4onYX3sJsfiFI
SgcAn3p1/EVoN8fJkuCZJEDtXsFwMuwE
=Z202
-----END PGP SIGNATURE-----