diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-02-26 15:24:45 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-02-26 15:24:45 +0100 |
commit | 18e9ef66371704bd9bbf344f2f874df34b67b722 (patch) | |
tree | 00bbcddb7eb5726d3ac65c897f7ffd692bcf92c0 /mongo-json.patch | |
parent | 9d7ccf740422d3eef48a3c5046c74e122047d783 (diff) |
php-pecl-mongo: 1.5.0alpha1 (for remi-test)
Diffstat (limited to 'mongo-json.patch')
-rw-r--r-- | mongo-json.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mongo-json.patch b/mongo-json.patch new file mode 100644 index 0000000..fe43a1f --- /dev/null +++ b/mongo-json.patch @@ -0,0 +1,16 @@ +--- config.m4.old 2014-02-26 14:17:31.000000000 +0100 ++++ config.m4 2014-02-26 14:22:36.000000000 +0100 +@@ -148,4 +148,13 @@ + -L$MONGO_SASL_DIR/$PHP_LIBDIR + ]) + PHP_SUBST(MONGO_SHARED_LIBADD) ++ ++fi ++ ++AC_MSG_CHECKING(for JSON) ++if test -f "$phpincludedir/ext/json/php_json.h"; then ++ AC_DEFINE(HAVE_JSON, 1, [JSON support]) ++ AC_MSG_RESULT(Yes) ++else ++ AC_MSG_RESULT(Missing json or jsonc extension) + fi |