diff options
| author | jvoisin | 2022-03-20 19:52:58 +0100 |
|---|---|---|
| committer | jvoisin | 2022-03-20 19:52:58 +0100 |
| commit | 45222ad76c33f49462e70916353bda3f1c2d9f71 (patch) | |
| tree | 87560feb90d21d9b862859a4c4f56b7ff495cc7f | |
| parent | bcc33313b95bf21d4fb8ce755be6bbfd308bb2e8 (diff) | |
Modernize the m4 file
| -rw-r--r-- | src/config.m4 | 4 |
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, | |||
| 21 | PHP_ARG_ENABLE(debug-stderr, whether to enable debug messages, | 21 | PHP_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 | ||
| 24 | AC_PROG_CC_STDC() | ||
| 25 | |||
| 26 | CFLAGS="$CFLAGS" | 24 | CFLAGS="$CFLAGS" |
| 27 | CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" | 25 | CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" |
| 28 | CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -D_FORTIFY_SOURCE=2" | 26 | CFLAGS="$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) |
| 48 | fi | 46 | fi |
| 49 | 47 | ||
| 50 | # PHP_PROG_RE2C([2.0]) | 48 | PHP_PROG_RE2C([2.0]) |
| 51 | PHP_ADD_MAKEFILE_FRAGMENT() | 49 | PHP_ADD_MAKEFILE_FRAGMENT() |
