X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=blobdiff_plain;f=config.m4;fp=config.m4;h=025155ca62d98a2bf513739e7bb7eb1516354e4b;hp=0000000000000000000000000000000000000000;hb=3964b8f0cd83ef3ba5de9d0b2e5e395f95404a8c;hpb=5c72938056611ccba2a36bc2332e21c69855ae96 diff --git a/config.m4 b/config.m4 new file mode 100644 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