Merge bitbucket.org:mike_php_net/ext-propro
[m6w6/ext-propro] / config.m4
diff --git a/config.m4 b/config.m4
new file mode 100644 (file)
index 0000000..925eebb
--- /dev/null
+++ b/config.m4
@@ -0,0 +1,7 @@
+PHP_ARG_ENABLE(propro, whether to enable property proxy support,
+[  --enable-propro           Enable property proxy support])
+
+if test "$PHP_PROPRO" != "no"; then
+       PHP_INSTALL_HEADERS(ext/propro, php_propro.h)
+       PHP_NEW_EXTENSION(propro, php_propro.c, $ext_shared)
+fi