This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix sysdeps/i386/configure.in cpuid.h test for bootstrapping


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]