make/autoconf/lib-bundled.m4
changeset 48753 d018e76655fb
parent 48751 54f355e65415
child 48758 ba19a21d727d
--- 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"