From 6d85cafef25969c15bb10c105df3c2a00fc5d582 Mon Sep 17 00:00:00 2001 From: Erik Joelsson Date: Tue, 6 Feb 2018 22:47:50 +0100 Subject: [PATCH] 8196911: Windows build fails with not finding zlib.h Reviewed-by: tbell --- make/autoconf/lib-bundled.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/autoconf/lib-bundled.m4 b/make/autoconf/lib-bundled.m4 index ed513261110..8876e170b5e 100644 --- a/make/autoconf/lib-bundled.m4 +++ b/make/autoconf/lib-bundled.m4 @@ -209,7 +209,7 @@ AC_DEFUN_ONCE([LIB_SETUP_ZLIB], 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"