8196951: jdk build fails with clang: error: no such file or directory: '@LIBZ_CFLAGS@'
Reviewed-by: tbell, alanb
--- a/make/autoconf/lib-bundled.m4 Wed Feb 07 09:06:43 2018 -0500
+++ b/make/autoconf/lib-bundled.m4 Wed Feb 07 09:48:43 2018 -0800
@@ -209,6 +209,8 @@
AC_MSG_ERROR([Invalid value for --with-zlib: ${with_zlib}, use 'system' or 'bundled'])
fi
+ LIBZ_CFLAGS=""
+ LIBZ_LIBS=""
if test "x$USE_EXTERNAL_LIBZ" = "xfalse"; then
LIBZ_CFLAGS="$LIBZ_CFLAGS -I$TOPDIR/src/java.base/share/native/libzip/zlib"
else