glibc: remove all previous (ancient) versions, add 2.14 (partially based on a patch...
[openwrt/svn-archive/archive.git] / toolchain / glibc / patches / 2.14 / 100-fix_cpuid_h_check.patch
1 --- a/sysdeps/i386/configure.in
2 +++ b/sysdeps/i386/configure.in
3 @@ -2,7 +2,7 @@
4 # Local configure fragment for sysdeps/i386.
5
6 AC_HEADER_CHECK([cpuid.h], ,
7 - [AC_MSG_ERROR([gcc must provide the <cpuid.h> header])])
8 + [AC_MSG_ERROR([gcc must provide the <cpuid.h> header])], [])
9
10 AC_CACHE_CHECK(if -g produces usable source locations for assembler-with-cpp,
11 libc_cv_cpp_asm_debuginfo, [dnl
12 --- a/sysdeps/i386/configure
13 +++ b/sysdeps/i386/configure
14 @@ -632,7 +632,7 @@
15 done
16
17
18 -ac_fn_c_check_header_mongrel "$LINENO" "cpuid.h" "ac_cv_header_cpuid_h" "$ac_includes_default"
19 +ac_fn_c_check_header_mongrel "$LINENO" "cpuid.h" "ac_cv_header_cpuid_h" ""
20 if test "x$ac_cv_header_cpuid_h" = x""yes; then :
21
22 else