summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Fuhrmannek2016-03-04 11:22:13 +0100
committerBen Fuhrmannek2016-03-04 11:22:13 +0100
commit60ba43075649da201339634ed071ccb274c96ec8 (patch)
treef33acd534b36b70200801e4dee2b4318bc9b831a
parent3785bbf9201d52379987b5444967286d2d3e8adc (diff)
debug flag for configure
-rw-r--r--config.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/config.m4 b/config.m4
index f3fdc77..f73dfe8 100644
--- a/config.m4
+++ b/config.m4
@@ -20,4 +20,11 @@ if test "$PHP_SUHOSIN7_EXPERIMENTAL" != "no"; then
20 AC_DEFINE(SUHOSIN7_EXPERIMENTAL, 1, [Whether to enable experimental suhosin7 features]) 20 AC_DEFINE(SUHOSIN7_EXPERIMENTAL, 1, [Whether to enable experimental suhosin7 features])
21fi 21fi
22 22
23PHP_ARG_ENABLE(suhosin7-debug, whether to enable suhosin7 debugging,
24[ --enable-suhosin7-debug Enable suhosin7 debugging], no, no)
25
26if test "$PHP_SUHOSIN7_DEBUG" != "no"; then
27 AC_DEFINE(SUHOSIN7_DEBUG, 1, [Whether to enable suhosin7 debugging])
28fi
29
23CFLAGS="$CFLAGS -std=c11" 30CFLAGS="$CFLAGS -std=c11"