about summary refs log tree commit diff
path: root/sysdeps/x86_64/configure
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-29 14:43:46 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-29 14:43:46 +0000
commit91bcb95ad4454ea878e7a2eac5c4a0eeb6fb4de6 (patch)
tree51af7842f6dee5d566bb96b7c627831c6cf06b87 /sysdeps/x86_64/configure
parent2a723ff6ff8ebbcb6759bfaf28fd25b390ce9390 (diff)
downloadglibc-91bcb95ad4454ea878e7a2eac5c4a0eeb6fb4de6.tar.gz
glibc-91bcb95ad4454ea878e7a2eac5c4a0eeb6fb4de6.tar.xz
glibc-91bcb95ad4454ea878e7a2eac5c4a0eeb6fb4de6.zip
Remove cpuid.h configure tests.
There are configure tests for the cpuid.h header for x86 / x86_64.
GCC 4.3 and later install this header, so those tests are obsolete.
This patch removes them.

Tested for x86_64 and x86 (testsuite, and that installed shared
libraries are unchanged by the patch).

	* sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
	* sysdeps/i386/configure: Regenerated.
	* sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
	* sysdeps/x86_64/configure: Regenerated.
Diffstat (limited to 'sysdeps/x86_64/configure')
-rw-r--r--sysdeps/x86_64/configure42
1 files changed, 0 insertions, 42 deletions
diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure
index 15058e2db3..c72b9d3184 100644
--- a/sysdeps/x86_64/configure
+++ b/sysdeps/x86_64/configure
@@ -1,48 +1,6 @@
-
-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
-# -------------------------------------------------------
-# Tests whether HEADER exists and can be compiled using the include files in
-# INCLUDES, setting the cache variable VAR accordingly.
-ac_fn_c_check_header_compile ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$3=yes"
-else
-  eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_header_compile
 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
  # Local configure fragment for sysdeps/x86_64.
 
-
-ac_fn_c_check_header_compile "$LINENO" "cpuid.h" "ac_cv_header_cpuid_h" "/* No default includes.  */
-"
-if test "x$ac_cv_header_cpuid_h" = xyes; then :
-
-else
-  as_fn_error $? "gcc must provide the <cpuid.h> header" "$LINENO" 5
-fi
-
-
-
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX512 support in assembler" >&5
 $as_echo_n "checking for AVX512 support in assembler... " >&6; }
 if ${libc_cv_asm_avx512+:} false; then :