8196951: jdk build fails with clang: error: no such file or directory: '@LIBZ_CFLAGS@'
authorerikj
Wed, 07 Feb 2018 09:48:43 -0800
changeset 48758 ba19a21d727d
parent 48757 8cc67294ec56
child 48759 ffa68af7da87
8196951: jdk build fails with clang: error: no such file or directory: '@LIBZ_CFLAGS@' Reviewed-by: tbell, alanb
make/autoconf/lib-bundled.m4
--- 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