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.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/sysvshm/config.m4 b/ext/sysvshm/config.m4
new file mode 100644
index 0000000..3827f59
--- /dev/null
+++ b/ext/sysvshm/config.m4
@@ -0,0 +1,11 @@
+dnl
+dnl $Id$
+dnl
+
+PHP_ARG_ENABLE(sysvshm,whether to enable System V shared memory support,
+[ --enable-sysvshm Enable the System V shared memory support])
+
+if test "$PHP_SYSVSHM" != "no"; then
+ AC_DEFINE(HAVE_SYSVSHM, 1, [ ])
+ PHP_NEW_EXTENSION(sysvshm, sysvshm.c, $ext_shared)
+fi