-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 12/20/2008 12:12 PM:
> 2008-12-20  Bruno Haible  <br...@clisp.org>
> 
>       Ensure mbstate_t is defined on HP-UX 11.11 when AC_USE_SYSTEM_EXTENSIONS
>       is used.
>       * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Require
>       AC_CANONICAL_HOST. On HP-UX, define _XOPEN_SOURCE to 500.

Do we really want to force AC_CANONICAL_HOST here, as well as blindly
always enabling the define for all HP setups?  It seems like this would be
better written as a compile-time test that sees whether mbstate_t is
visible first without, then with -D_XOPEN_SOURCE=500 added to CFLAGS, in
case HP (or gcc fixincludes) fixes the problem, or in case someone else
has a similar issue.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             e...@byu.net
-----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

iEYEARECAAYFAklOPdMACgkQ84KuGfSFAYAXgQCfUDaP71OUZd5P04ROYEf5TxAd
ci4An0NNc/XM/8reRgLQ3HCG6kfLm+De
=Kun/
-----END PGP SIGNATURE-----


Reply via email to