summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2022-03-29 20:51:20 +0200
committerjvoisin2022-03-29 20:51:20 +0200
commit5d1d7365d981f260023a193c5738413c4bfaa6bb (patch)
tree7218b8d603551dbe78954e3ed372c63f62029b1a
parent192a24a035d5ef887e4163925156502552b78c7d (diff)
Fix compilation on old systems
Thanks to rainerjung@ for investigating.
-rw-r--r--src/config.m43
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,
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() 24# AC_PROG_CC_STDC was merged in AC_PROG_CC in autoconf 2.70
25m4_version_prereq([2.70], [AC_PROG_CC], [AC_PROG_CC_STDC])
25 26
26CFLAGS="$CFLAGS" 27CFLAGS="$CFLAGS"
27CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" 28CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter"