common/autoconf/lib-bundled.m4

Print this page

        

@@ -155,14 +155,14 @@
       [ ZLIB_FOUND=yes ],
       [ ZLIB_FOUND=no ])
 
   AC_MSG_CHECKING([for which zlib to use])
 
-  DEFAULT_ZLIB=bundled
-  if test "x$OPENJDK_TARGET_OS" = xmacosx; then
-    # On macosx default is system...on others default is bundled
     DEFAULT_ZLIB=system
+  if test "x$OPENJDK_TARGET_OS" = xwindows; then
+    # On windows default is bundled...on others default is system
+    DEFAULT_ZLIB=bundled
   fi
 
   if test "x${ZLIB_FOUND}" != "xyes"; then
     # If we don't find any system...set default to bundled
     DEFAULT_ZLIB=bundled