summaryrefslogtreecommitdiff
path: root/cross/cross-mips64el-unknown-linux-gnu-glibc-headers/configure.patch
blob: 5393ae5cd2811a140d069dde702b9658134afbdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure	2011-12-18 02:53:21.000000000 -0300
+++ configure	2012-01-14 15:20:13.737901264 -0300
@@ -7210,13 +6940,14 @@
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_expect" >&5
 $as_echo "$libc_cv_gcc_builtin_expect" >&6; }
-if test "$libc_cv_gcc_builtin_expect" = no; then
-  as_fn_error $? "support for __builtin_expect needed" "$LINENO" 5
+if test "$libc_cv_gcc_builtin_expect" = yes; then
+  $as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
+
 fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
 $as_echo_n "checking for __builtin_memset... " >&6; }
-if ${libc_cv_gcc_builtin_memset+:} false; then :
+if ${libc_cv_gcc_builtin_memset+:} false;  then :
   $as_echo_n "(cached) " >&6
 else
   cat > conftest.c <<\EOF