Skip to content

Commit

Permalink
Use the system zlib on platforms other than Windows
Browse files Browse the repository at this point in the history
This makes jdk8 consistent with jdk11.

Issue eclipse-openj9/openj9#18127

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
  • Loading branch information
pshipton committed Sep 13, 2023
1 parent 30cfca1 commit d23d075
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions common/autoconf/generated-configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4050,7 +4050,7 @@ fi
#

# ===========================================================================
# (c) Copyright IBM Corp. 2021, 2022 All Rights Reserved
# (c) Copyright IBM Corp. 2021, 2023 All Rights Reserved
# ===========================================================================


Expand Down Expand Up @@ -4464,7 +4464,7 @@ VS_TOOLSET_SUPPORTED_2022=true
#CUSTOM_AUTOCONF_INCLUDE

# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=1692401469
DATE_WHEN_GENERATED=1694545593

###############################################################################
#
Expand Down Expand Up @@ -46346,9 +46346,9 @@ fi
$as_echo_n "checking for which zlib to use... " >&6; }

DEFAULT_ZLIB=bundled
if test "x$OPENJDK_TARGET_OS" = xmacosx -o "x$OPENJDK_TARGET_OS" = xaix; then
if test "x$OPENJDK_TARGET_OS" = xmacosx -o "x$OPENJDK_TARGET_OS" = xaix -o "x$OPENJDK_TARGET_OS" = xlinux; then
#
# On macosx and aix default is system...on others default is
# On macosx, aix, and linux default is system...on others default is bundled.
#
DEFAULT_ZLIB=system
fi
Expand Down
10 changes: 5 additions & 5 deletions common/autoconf/libraries.m4
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#

# ===========================================================================
# (c) Copyright IBM Corp. 2021, 2022 All Rights Reserved
# (c) Copyright IBM Corp. 2021, 2023 All Rights Reserved
# ===========================================================================

AC_DEFUN_ONCE([LIB_SETUP_INIT],
Expand Down Expand Up @@ -667,12 +667,12 @@ AC_DEFUN_ONCE([LIB_SETUP_MISC_LIBS],
AC_MSG_CHECKING([for which zlib to use])
DEFAULT_ZLIB=bundled
if test "x$OPENJDK_TARGET_OS" = xmacosx -o "x$OPENJDK_TARGET_OS" = xaix; then
DEFAULT_ZLIB=system
if test "x$OPENJDK_TARGET_OS" = xwindows; then
#
# On macosx and aix default is system...on others default is
# On windows default is bundled...on others default is system.
#
DEFAULT_ZLIB=system
DEFAULT_ZLIB=bundled
fi
if test "x${ZLIB_FOUND}" != "xyes"; then
Expand Down
10 changes: 5 additions & 5 deletions jdk/make/closed/autoconf/generated-configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4155,7 +4155,7 @@ fi
#

# ===========================================================================
# (c) Copyright IBM Corp. 2021, 2022 All Rights Reserved
# (c) Copyright IBM Corp. 2021, 2023 All Rights Reserved
# ===========================================================================


Expand Down Expand Up @@ -4567,7 +4567,7 @@ VS_TOOLSET_SUPPORTED_2022=true
# definitions. It is replaced with custom functionality when building
# custom sources.
# ===========================================================================
# (c) Copyright IBM Corp. 2017, 2022 All Rights Reserved
# (c) Copyright IBM Corp. 2017, 2023 All Rights Reserved
# ===========================================================================
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
Expand Down Expand Up @@ -4634,7 +4634,7 @@ VS_TOOLSET_SUPPORTED_2022=true


# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=1692401469
DATE_WHEN_GENERATED=1694545593

###############################################################################
#
Expand Down Expand Up @@ -49317,9 +49317,9 @@ fi
$as_echo_n "checking for which zlib to use... " >&6; }

DEFAULT_ZLIB=bundled
if test "x$OPENJDK_TARGET_OS" = xmacosx -o "x$OPENJDK_TARGET_OS" = xaix; then
if test "x$OPENJDK_TARGET_OS" = xmacosx -o "x$OPENJDK_TARGET_OS" = xaix -o "x$OPENJDK_TARGET_OS" = xlinux; then
#
# On macosx and aix default is system...on others default is
# On macosx, aix, and linux default is system...on others default is bundled.
#
DEFAULT_ZLIB=system
fi
Expand Down

0 comments on commit d23d075

Please sign in to comment.