- config.m4 moved to config9.m4
[m6w6/ext-http] / http.c
diff --git a/http.c b/http.c
index 843db2284c703ba0b3cbd38f37b62af95205427b..e97c12d743b4fdeb59e4827aeca24c6d5bc8edf6 100644 (file)
--- a/http.c
+++ b/http.c
@@ -137,16 +137,16 @@ PHP_MINFO_FUNCTION(http);
 /* {{{ http_module_dep */
 #if ZEND_EXTENSION_API_NO >= 220050617
 static zend_module_dep http_module_deps[] = {
-#      if defined(HAVE_SPL) && !HTTP_SHARED_EXT(SPL)
+#      if HTTP_HAVE_EXT(SPL)
        ZEND_MOD_REQUIRED("spl")
 #      endif
-#      if defined(HTTP_HAVE_EXT_HASH) && !HTTP_SHARED_EXT(HASH)
+#      if HTTP_HAVE_EXT(HASH)
        ZEND_MOD_REQUIRED("hash")
 #      endif
-#      if defined(HAVE_PHP_SESSION) && !HTTP_SHARED_EXT(PHP_SESSION)
+#      if HTTP_HAVE_EXT(SESSION)
        ZEND_MOD_REQUIRED("session")
 #      endif
-#      if defined(HAVE_ICONV) && !HTTP_SHARED_EXT(ICONV)
+#      if HTTP_HAVE_EXT(ICONV)
        ZEND_MOD_REQUIRED("iconv")
 #      endif
        {NULL, NULL, NULL, 0}