summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjvoisin2022-03-20 19:52:58 +0100
committerjvoisin2022-03-20 19:52:58 +0100
commit45222ad76c33f49462e70916353bda3f1c2d9f71 (patch)
tree87560feb90d21d9b862859a4c4f56b7ff495cc7f /src
parentbcc33313b95bf21d4fb8ce755be6bbfd308bb2e8 (diff)
Modernize the m4 file
Diffstat (limited to 'src')
-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()