Fix sysdeps/i386/configure.in cpuid.h test for bootstrapping
Thomas Schwinge
thomas@codesourcery.com
Wed Mar 7 21:15:00 GMT 2012
Hi!
On Wed, 7 Mar 2012 19:54:46 +0000 (UTC), "Joseph S. Myers" <joseph@codesourcery.com> wrote:
> This patch fixes another configure test issue when bootstrapping.
> sysdeps/i386/configure.in uses the obsolete AC_HEADER_CHECK macro to
> test for cpuid.h, and that macro tries to include various other
> standard headers (which come from the library, unlike cpuid.h which
> comes from the compiler, so aren't available when bootstrapping) in
> the test code it compiles. This patch changes the code to use
> AC_CHECK_HEADER, with the fourth argument used to prevent any default
> includes being used in the test.
>
> Tested x86_64 (native).
>
> 2012-03-07 Joseph Myers <joseph@codesourcery.com>
>
> * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
> default includes instead of AC_HEADER_CHECK.
> * sysdeps/i386/configure: Regenerated.
This reminds me of this proposal of mine:
<http://sourceware.org/ml/libc-alpha/2011-09/msg00091.html>. This is
probably still worthwhile to pursue?
Grüße,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120307/262d38b3/attachment.sig>
More information about the Libc-alpha
mailing list