disable build with libmagic
authorMichael Wallner <mike@php.net>
Thu, 24 Jul 2008 08:50:41 +0000 (08:50 +0000)
committerMichael Wallner <mike@php.net>
Thu, 24 Jul 2008 08:50:41 +0000 (08:50 +0000)
config.w32

index 95c1e994bb95deb9569f13ec704d87738a93b08d..d515e5c5209e877b20a3dca12b4537ba7a3b6e7f 100644 (file)
@@ -116,13 +116,14 @@ if (PHP_HTTP != "no") {
        } else {
                WARNING("curl convenience functions not enabled; libraries and headers not found");
        }
-
-       MAGIC_LIB = PHP_DEBUG != "no" ? "libmagic-staticd.lib":"libmagic-static.lib";
-       if (CHECK_HEADER_ADD_INCLUDE("magic.h", "CFLAGS_HTTP") &&
-                       CHECK_LIB(MAGIC_LIB, "http", PHP_HTTP)) {
-               AC_DEFINE("HTTP_HAVE_MAGIC", 1, "Have magic library");
-               AC_DEFINE("USE_MAGIC_STATIC", "", "");
-       } else {
-               WARNING("content type guessing not enabled; libraries and headers not found");
-       }
+/*
+//     MAGIC_LIB = PHP_DEBUG != "no" ? "libmagic-staticd.lib":"libmagic-static.lib";
+//     if (CHECK_HEADER_ADD_INCLUDE("magic.h", "CFLAGS_HTTP") &&
+//                     CHECK_LIB(MAGIC_LIB, "http", PHP_HTTP)) {
+//             AC_DEFINE("HTTP_HAVE_MAGIC", 1, "Have magic library");
+//             AC_DEFINE("USE_MAGIC_STATIC", "", "");
+//     } else {
+//             WARNING("content type guessing not enabled; libraries and headers not found");
+//     }
+*/
 }