diff options
| author | jvoisin | 2022-03-29 20:51:20 +0200 |
|---|---|---|
| committer | jvoisin | 2022-03-29 20:51:20 +0200 |
| commit | 5d1d7365d981f260023a193c5738413c4bfaa6bb (patch) | |
| tree | 7218b8d603551dbe78954e3ed372c63f62029b1a /src | |
| parent | 192a24a035d5ef887e4163925156502552b78c7d (diff) | |
Fix compilation on old systems
Thanks to rainerjung@ for investigating.
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.m4 b/src/config.m4 index 9d41a86..1958979 100644 --- a/src/config.m4 +++ b/src/config.m4 | |||
| @@ -21,7 +21,8 @@ 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() | 24 | # AC_PROG_CC_STDC was merged in AC_PROG_CC in autoconf 2.70 |
| 25 | m4_version_prereq([2.70], [AC_PROG_CC], [AC_PROG_CC_STDC]) | ||
| 25 | 26 | ||
| 26 | CFLAGS="$CFLAGS" | 27 | CFLAGS="$CFLAGS" |
| 27 | CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" | 28 | CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" |
