split off pecl_http
[m6w6/ext-json_post] / config.m4
diff --git a/config.m4 b/config.m4
new file mode 100644 (file)
index 0000000..025155c
--- /dev/null
+++ b/config.m4
@@ -0,0 +1,7 @@
+PHP_ARG_ENABLE(json-post, whether to enable json-post support,
+[  --enable-json-post      Enable json-post support])
+
+if test "$PHP_JSON_POST" != "no"; then
+  PHP_NEW_EXTENSION(json_post, php_json_post.c, $ext_shared)
+  PHP_ADD_EXTENSION_DEP(json_post, json, true)
+fi