[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mbstate_t on HP-UX 11.11
From: |
Eric Blake |
Subject: |
Re: mbstate_t on HP-UX 11.11 |
Date: |
Sun, 21 Dec 2008 06:00:03 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bruno Haible on 12/20/2008 12:12 PM:
> 2008-12-20 Bruno Haible <address@hidden>
>
> 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 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
iEYEARECAAYFAklOPdMACgkQ84KuGfSFAYAXgQCfUDaP71OUZd5P04ROYEf5TxAd
ci4An0NNc/XM/8reRgLQ3HCG6kfLm+De
=Kun/
-----END PGP SIGNATURE-----