From 0a40080ee1177ff2709114d9199cfb334d6f066c Mon Sep 17 00:00:00 2001 From: Erik Joelsson Date: Wed, 7 Feb 2018 09:48:43 -0800 Subject: [PATCH] 8196951: jdk build fails with clang: error: no such file or directory: '@LIBZ_CFLAGS@' Reviewed-by: tbell, alanb --- make/autoconf/lib-bundled.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make/autoconf/lib-bundled.m4 b/make/autoconf/lib-bundled.m4 index 8876e170b5..0680a99d17 100644 --- a/make/autoconf/lib-bundled.m4 +++ b/make/autoconf/lib-bundled.m4 @@ -209,6 +209,8 @@ AC_DEFUN_ONCE([LIB_SETUP_ZLIB], 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