add json content type handler if ext/json is present
[m6w6/ext-http] / config9.m4
index 9f800a1ef5491dfe354b209a247dc43954883cb7..63062de8e5d048a045c584fad338e7bd3d8fd4b6 100644 (file)
@@ -383,6 +383,12 @@ dnl ----
                fi
        ])
 
+dnl ----
+dnl JSON
+dnl ----
+       HTTP_HAVE_PHP_EXT([json])
+
+
 dnl ----
 dnl ICONV
 dnl ----
@@ -436,6 +442,7 @@ dnl ----
        dnl shared extension deps
        HTTP_SHARED_DEP([hash])
        HTTP_SHARED_DEP([iconv])
+       HTTP_SHARED_DEP([json])
        
        PHP_SUBST([HTTP_SHARED_LIBADD])