]> Git Repo - secp256k1.git/blobdiff - configure.ac
Use __GNUC_PREREQ for detecting __builtin_expect
[secp256k1.git] / configure.ac
index 68c45a56f0aa09d88888ff94c9a43e48cb78b86f..0657b71f93cc151e38b1166447c63634c84014f0 100644 (file)
@@ -153,12 +153,6 @@ AC_ARG_WITH([asm], [AS_HELP_STRING([--with-asm=x86_64|arm|no|auto]
 
 AC_CHECK_TYPES([__int128])
 
-AC_MSG_CHECKING([for __builtin_expect])
-AC_COMPILE_IFELSE([AC_LANG_SOURCE([[void myfunc() {__builtin_expect(0,0);}]])],
-    [ AC_MSG_RESULT([yes]);AC_DEFINE(HAVE_BUILTIN_EXPECT,1,[Define this symbol if __builtin_expect is available]) ],
-    [ AC_MSG_RESULT([no])
-    ])
-
 if test x"$enable_coverage" = x"yes"; then
     AC_DEFINE(COVERAGE, 1, [Define this symbol to compile out all VERIFY code])
     CFLAGS="$CFLAGS -O0 --coverage"
This page took 0.022263 seconds and 4 git commands to generate.