summaryrefslogtreecommitdiff
path: root/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config.m4')
-rw-r--r--config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/config.m4 b/config.m4
index a6dade9..23081dd 100644
--- a/config.m4
+++ b/config.m4
@@ -5,7 +5,7 @@ PHP_ARG_ENABLE(suhosin7, whether to enable suhosin support,
5[ --enable-suhosin7 Enable suhosin support]) 5[ --enable-suhosin7 Enable suhosin support])
6 6
7if test "$PHP_SUHOSIN7" != "no"; then 7if test "$PHP_SUHOSIN7" != "no"; then
8 PHP_NEW_EXTENSION(suhosin7, suhosin7.c ifilter.c memory_limit.c aes.c treat_data.c log.c execute.c execute_ih.c execute_rnd.c crypt.c cookiecrypt.c header.c session.c, $ext_shared,, [-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1]) 8 PHP_NEW_EXTENSION(suhosin7, suhosin7.c ifilter.c memory_limit.c aes.c treat_data.c log.c execute.c execute_ih.c execute_rnd.c crypt.c cookiecrypt.c header.c session.c ex_imp.c rfc1867.c ufilter.c post_handler.c, $ext_shared,, [-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
9 PHP_ADD_EXTENSION_DEP(suhosin7, hash) 9 PHP_ADD_EXTENSION_DEP(suhosin7, hash)
10 echo "===== WARNING ============================================" 10 echo "===== WARNING ============================================"
11 echo " Suhosin7 for PHP 7 is in alpha stage at the moment and" 11 echo " Suhosin7 for PHP 7 is in alpha stage at the moment and"
@@ -29,7 +29,7 @@ fi
29 29
30AC_MSG_CHECKING([for C11 support with -std=c11]) 30AC_MSG_CHECKING([for C11 support with -std=c11])
31old_CFLAGS="$CFLAGS" 31old_CFLAGS="$CFLAGS"
32CFLAGS+=" -std=c11" 32CFLAGS="${CFLAGS} -std=c11"
33AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[ 33AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[
34 AC_MSG_RESULT([no]) 34 AC_MSG_RESULT([no])
35 CFLAGS="$old_CFLAGS" 35 CFLAGS="$old_CFLAGS"
@@ -38,7 +38,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[
38 echo " support. Trying C99 instead, but compiling may fail." 38 echo " support. Trying C99 instead, but compiling may fail."
39 echo "==========================================================" 39 echo "=========================================================="
40 AC_MSG_CHECKING([for C99 support with -std=c99]) 40 AC_MSG_CHECKING([for C99 support with -std=c99])
41 CFLAGS+=" -std=c99" 41 CFLAGS="${CFLAGS} -std=c99"
42 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[ 42 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[
43 AC_MSG_RESULT([no]) 43 AC_MSG_RESULT([no])
44 CFLAGS="$old_CFLAGS" 44 CFLAGS="$old_CFLAGS"