8196911: Windows build fails with not finding zlib.h
authorerikj
Tue, 06 Feb 2018 22:47:50 +0100
changeset 48753 d018e76655fb
parent 48752 0b1138ce244f
child 48754 338cd8dd9034
8196911: Windows build fails with not finding zlib.h Reviewed-by: tbell
make/autoconf/lib-bundled.m4
--- a/make/autoconf/lib-bundled.m4	Tue Feb 06 10:17:31 2018 -0800
+++ b/make/autoconf/lib-bundled.m4	Tue Feb 06 22:47:50 2018 +0100
@@ -209,7 +209,7 @@
     AC_MSG_ERROR([Invalid value for --with-zlib: ${with_zlib}, use 'system' or 'bundled'])
   fi
 
-  if test "x$USER_EXTERNAL_LIBZ" = "xfalse"; then
+  if test "x$USE_EXTERNAL_LIBZ" = "xfalse"; then
     LIBZ_CFLAGS="$LIBZ_CFLAGS -I$TOPDIR/src/java.base/share/native/libzip/zlib"
   else
     LIBZ_LIBS="-lz"