changeset 48753:d018e76655fb

8196911: Windows build fails with not finding zlib.h Reviewed-by: tbell
author erikj
date Tue, 06 Feb 2018 22:47:50 +0100
parents 0b1138ce244f
children 338cd8dd9034
files make/autoconf/lib-bundled.m4
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"