summaryrefslogtreecommitdiff
path: root/ext/sysvshm/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sysvshm/config.m4')
-rw-r--r--ext/sysvshm/config.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/sysvshm/config.m4 b/ext/sysvshm/config.m4
new file mode 100644
index 0000000000..287841f26d
--- /dev/null
+++ b/ext/sysvshm/config.m4
@@ -0,0 +1,17 @@
+dnl $Id$
+
+AC_MSG_CHECKING(whether to enable System V shared memory support)
+AC_ARG_ENABLE(sysvshm,
+[ --enable-sysvshm Enable the System V shared memory support],[
+ if test "$enableval" = "yes"; then
+ AC_DEFINE(HAVE_SYSVSHM, 1)
+ AC_MSG_RESULT(yes)
+ PHP_EXTENSION(sysvshm)
+ else
+ AC_DEFINE(HAVE_SYSVSHM, 0)
+ AC_MSG_RESULT(no)
+ fi
+],[
+ AC_DEFINE(HAVE_SYSVSHM, 0)
+ AC_MSG_RESULT(no)
+])