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 95c1e99..d515e5c 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");
+//     }
+*/
 }