You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[enable bundling of the openssl crypto library with the jdk build])])
626
-
WITH_OPENSSL=yes
627
-
if test "x$with_openssl" = x; then
628
-
# User doesn't want to build with OpenSSL. No need to build openssl libraries
629
-
WITH_OPENSSL=no
626
+
BUILD_OPENSSL=false
627
+
OPENSSL_BUNDLE_LIB_PATH=
628
+
WITH_OPENSSL=true
629
+
if test "x$with_openssl" = x || test "x$with_openssl" = xno ; then
630
+
# User doesn't want to build with OpenSSL. No need to build openssl libraries.
631
+
WITH_OPENSSL=false
630
632
else
631
633
AC_MSG_CHECKING([for OPENSSL])
632
-
BUNDLE_OPENSSL="$enable_openssl_bundling"
633
-
BUILD_OPENSSL=no
634
634
# If not specified, default is to not bundle openssl
635
-
if test "x$BUNDLE_OPENSSL" = x; then
636
-
BUNDLE_OPENSSL=no
635
+
if test "x$enable_openssl_bundling" != xyes ; then
636
+
enable_openssl_bundling=no
637
637
fi
638
638
# Process --with-openssl=fetched
639
639
if test "x$with_openssl" = xfetched ; then
640
640
if test -d "$TOPDIR/openssl" ; then
641
641
OPENSSL_DIR="$TOPDIR/openssl"
642
642
OPENSSL_CFLAGS="-I${OPENSSL_DIR}/include"
643
-
if test "x$BUNDLE_OPENSSL" != x ; then
644
-
if ! test -s "$OPENSSL_DIR/${LIBRARY_PREFIX}crypto${SHARED_LIBRARY_SUFFIX}" ; then
645
-
BUILD_OPENSSL=yes
646
-
fi
643
+
if ! test -s "$OPENSSL_DIR/${LIBRARY_PREFIX}crypto${SHARED_LIBRARY_SUFFIX}" ; then
644
+
BUILD_OPENSSL=true
647
645
fi
648
-
if test "x$BUNDLE_OPENSSL" = xyes ; then
646
+
if test "x$enable_openssl_bundling" = xyes ; then
649
647
OPENSSL_BUNDLE_LIB_PATH="${OPENSSL_DIR}"
650
648
fi
651
649
AC_MSG_RESULT([yes])
@@ -673,9 +671,9 @@ AC_DEFUN([CONFIGURE_OPENSSL],
673
671
AC_MSG_ERROR([Unable to find openssl 1.0.2(and above) installed on System. Please use other options for '--with-openssl'])
674
672
fi
675
673
# The crypto library bundling option is not available when --with-openssl=system.
676
-
if test "x$BUNDLE_OPENSSL" = xyes ; then
674
+
if test "x$enable_openssl_bundling" = xyes ; then
677
675
AC_MSG_RESULT([no])
678
-
printf "The option --enable_openssl_bundling is not available with --with-openssl=system. Use option fetched or openssl-custom-path to bundle crypto library\n"
676
+
printf "The option --enable-openssl-bundling is not available with --with-openssl=system. Use option fetched or openssl-custom-path to bundle crypto library\n"
679
677
AC_MSG_ERROR([Cannot continue])
680
678
fi
681
679
# Process --with-openssl=/custom/path/where/openssl/is/present
@@ -687,7 +685,7 @@ AC_DEFUN([CONFIGURE_OPENSSL],
687
685
if test -s "$OPENSSL_DIR/include/openssl/evp.h" ; then
688
686
OPENSSL_CFLAGS="-I${OPENSSL_DIR}/include"
689
687
if test "x$OPENJDK_BUILD_OS_ENV" = xwindows.cygwin ; then
690
-
if test "x$BUNDLE_OPENSSL" = xyes ; then
688
+
if test "x$enable_openssl_bundling" = xyes ; then
691
689
if test -d "$OPENSSL_DIR/bin" ; then
692
690
OPENSSL_BUNDLE_LIB_PATH="${OPENSSL_DIR}/bin"
693
691
else
@@ -697,7 +695,7 @@ AC_DEFUN([CONFIGURE_OPENSSL],
697
695
else
698
696
if test -s "$OPENSSL_DIR/lib/${LIBRARY_PREFIX}crypto${SHARED_LIBRARY_SUFFIX}" ; then
699
697
OPENSSL_CFLAGS="-I${OPENSSL_DIR}/include"
700
-
if test "x$BUNDLE_OPENSSL" = xyes ; then
698
+
if test "x$enable_openssl_bundling" = xyes ; then
701
699
# On Mac OSX, create local copy of the crypto library to update @rpath
702
700
# as the default is /usr/local/lib.
703
701
if test "x$OPENJDK_BUILD_OS" = xmacosx ; then
@@ -713,7 +711,7 @@ AC_DEFUN([CONFIGURE_OPENSSL],
713
711
fi
714
712
elif test -s "$OPENSSL_DIR/${LIBRARY_PREFIX}crypto${SHARED_LIBRARY_SUFFIX}" ; then
715
713
OPENSSL_CFLAGS="-I${OPENSSL_DIR}/include"
716
-
if test "x$BUNDLE_OPENSSL" = xyes ; then
714
+
if test "x$enable_openssl_bundling" = xyes ; then
717
715
# On Mac OSX, create local copy of the crypto library to update @rpath
0 commit comments