summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorLevi Morrison <levim@php.net>2015-03-20 11:58:58 -0600
committerLevi Morrison <levim@php.net>2015-03-22 10:31:14 -0600
commit017f89e871a8411765b82cecd09c355377f3a8df (patch)
treeb61dad6185fec86449c187479296d03d1b2d0474 /configure.in
parenta50e9d87f265f911f9c76ca0e998588be0bd6eac (diff)
downloadphp-git-017f89e871a8411765b82cecd09c355377f3a8df.tar.gz
Move check for __builtin_expect to configure
This allows __builtin_expect to be used more accurately
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 06db0a7c50..8f9844dc10 100644
--- a/configure.in
+++ b/configure.in
@@ -575,6 +575,9 @@ PHP_CHECK_SIZEOF(ptrdiff_t, 8)
dnl Check stdint types (must be after header check)
PHP_CHECK_STDINT_TYPES
+dnl Check __builtin_expect
+PHP_CHECK_BUILTIN_EXPECT
+
dnl Check for members of the stat structure
AC_STRUCT_ST_BLKSIZE
dnl AC_STRUCT_ST_BLOCKS will screw QNX because fileblocks.o does not exists