diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-08-02 10:38:44 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-08-02 10:38:44 -0700 |
commit | 5192104773c6d2f0bee47fe55872ad12b77034a5 (patch) | |
tree | 47a12100241da02a5e4b5fe15341a5a03a0a89e3 /sysdeps/i386/configure.in | |
parent | 9663bb3e2cdbf63a187386ba5e94a6c4705c4377 (diff) | |
download | glibc-5192104773c6d2f0bee47fe55872ad12b77034a5.tar.gz glibc-5192104773c6d2f0bee47fe55872ad12b77034a5.tar.xz glibc-5192104773c6d2f0bee47fe55872ad12b77034a5.zip |
x86/x86-64 now needs <cpuid.h> from gcc.
Diffstat (limited to 'sysdeps/i386/configure.in')
-rw-r--r-- | sysdeps/i386/configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/i386/configure.in b/sysdeps/i386/configure.in index 44f53a57a0..800f928fbd 100644 --- a/sysdeps/i386/configure.in +++ b/sysdeps/i386/configure.in @@ -1,6 +1,13 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. # Local configure fragment for sysdeps/i386. +AC_CACHE_CHECK([if gcc provides <cpuid.h>], libc_cv_gcc_cpuid, [dnl +AC_COMPILE_IFELSE([#include <cpuid.h>], libc_cv_gcc_cpuid=yes, + libc_cv_gcc_cpuid=no)]) +if test $libc_cv_gcc_cpuid != yes; then + AC_MSG_ERROR([gcc must provide the <cpuid.h> header]) +fi + AC_CACHE_CHECK(if -g produces usable source locations for assembler-with-cpp, libc_cv_cpp_asm_debuginfo, [dnl cat > conftest.S <<EOF |