summaryrefslogtreecommitdiff
path: root/src/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.m4')
-rw-r--r--src/config.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/src/config.m4 b/src/config.m4
index a421c0c..faf5f92 100644
--- a/src/config.m4
+++ b/src/config.m4
@@ -21,8 +21,6 @@ PHP_ARG_ENABLE(debug, whether to enable debug messages,
21PHP_ARG_ENABLE(debug-stderr, whether to enable debug messages, 21PHP_ARG_ENABLE(debug-stderr, whether to enable debug messages,
22[ --enable-debug-stderr Enable debug messages], no, no) 22[ --enable-debug-stderr Enable debug messages], no, no)
23 23
24AC_PROG_CC_STDC()
25
26CFLAGS="$CFLAGS" 24CFLAGS="$CFLAGS"
27CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" 25CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter"
28CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -D_FORTIFY_SOURCE=2" 26CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -D_FORTIFY_SOURCE=2"
@@ -47,5 +45,5 @@ if test "$PHP_SNUFFLEUPAGUS" = "yes"; then
47 PHP_NEW_EXTENSION(snuffleupagus, $sources, $ext_shared,-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) 45 PHP_NEW_EXTENSION(snuffleupagus, $sources, $ext_shared,-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
48fi 46fi
49 47
50# PHP_PROG_RE2C([2.0]) 48PHP_PROG_RE2C([2.0])
51PHP_ADD_MAKEFILE_FRAGMENT() 49PHP_ADD_MAKEFILE_FRAGMENT()