summaryrefslogtreecommitdiff
path: root/ext/shmop/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/shmop/config.m4')
-rw-r--r--ext/shmop/config.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/shmop/config.m4 b/ext/shmop/config.m4
new file mode 100644
index 0000000..6c1709d
--- /dev/null
+++ b/ext/shmop/config.m4
@@ -0,0 +1,8 @@
+dnl $Id$
+PHP_ARG_ENABLE(shmop, whether to enable shmop support,
+[ --enable-shmop Enable shmop support])
+
+if test "$PHP_SHMOP" != "no"; then
+ AC_DEFINE(HAVE_SHMOP, 1, [ ])
+ PHP_NEW_EXTENSION(shmop, shmop.c, $ext_shared)
+fi