aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-08 09:21:09 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-08 09:21:09 -0500
commit3857022a761ea7251f8e5c0e45d382ebc3e34cf9 (patch)
tree1814420b391703d5162e420f2abf78a1ad432e16 /configure
parent5c8e36b47849dcc712edc73ae094393234cb9a6f (diff)
downloadglibc-3857022a761ea7251f8e5c0e45d382ebc3e34cf9.zip
glibc-3857022a761ea7251f8e5c0e45d382ebc3e34cf9.tar.gz
glibc-3857022a761ea7251f8e5c0e45d382ebc3e34cf9.tar.bz2
No need for test for __builtin_expect
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure32
1 files changed, 0 insertions, 32 deletions
diff --git a/configure b/configure
index 16fb1a0..e090f16 100755
--- a/configure
+++ b/configure
@@ -6962,38 +6962,6 @@ if test "$libc_cv_c_asmcr0_bug" != 'no'; then
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
-$as_echo_n "checking for __builtin_expect... " >&6; }
-if ${libc_cv_gcc_builtin_expect+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#line $LINENO "configure"
-int foo (int a)
-{
- a = __builtin_expect (a, 10);
- return a == 10 ? 0 : 1;
-}
-EOF
-if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
- -o conftest conftest.c -lgcc >&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
- libc_cv_gcc_builtin_expect=yes
-else
- libc_cv_gcc_builtin_expect=no
-fi
-rm -f conftest*
-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
-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 :