it was the test that was wrong :P

This commit is contained in:
Bill Currie 2003-01-15 17:09:08 +00:00
parent e8d8ac8f23
commit 205933bf7c

View file

@ -204,8 +204,8 @@ AH_VERBATIM([HAVE___ATTRIBUTE__],
AC_MSG_CHECKING(for __builtin_expect)
AC_TRY_COMPILE(
[int i;],
[if (__builtin_expect (i == 20, 0)) i = 0;],
[long (*foo) (long, long) = __builtin_expect;],
[],
AC_DEFINE(HAVE___BUILTIN_EXPECT)
AC_MSG_RESULT(yes),
AC_MSG_RESULT(no)