215 AC_MSG_RESULT([fail])
216 AC_MSG_ERROR([Specified cacerts file "$CACERTS_FILE" does not exist])
217 fi
218 AC_MSG_RESULT([$CACERTS_FILE])
219 fi
220 AC_SUBST(CACERTS_FILE)
221
222 # Enable or disable unlimited crypto
223 AC_ARG_ENABLE(unlimited-crypto, [AS_HELP_STRING([--disable-unlimited-crypto],
224 [Disable unlimited crypto policy @<:@enabled@:>@])],,
225 [enable_unlimited_crypto=yes])
226 if test "x$enable_unlimited_crypto" = "xyes"; then
227 UNLIMITED_CRYPTO=true
228 else
229 UNLIMITED_CRYPTO=false
230 fi
231 AC_SUBST(UNLIMITED_CRYPTO)
232
233 # Should we build the serviceability agent (SA)?
234 INCLUDE_SA=true
235 if HOTSPOT_CHECK_JVM_VARIANT(zero) || HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then
236 INCLUDE_SA=false
237 fi
238 if test "x$OPENJDK_TARGET_OS" = xaix ; then
239 INCLUDE_SA=false
240 fi
241 AC_SUBST(INCLUDE_SA)
242
243 # Compress jars
244 COMPRESS_JARS=false
245
246 AC_SUBST(COMPRESS_JARS)
247
248 # Setup default copyright year. Mostly overridden when building close to a new year.
249 AC_ARG_WITH(copyright-year, [AS_HELP_STRING([--with-copyright-year],
250 [Set copyright year value for build @<:@current year@:>@])])
251 if test "x$with_copyright_year" = xyes; then
252 AC_MSG_ERROR([Copyright year must have a value])
253 elif test "x$with_copyright_year" != x; then
254 COPYRIGHT_YEAR="$with_copyright_year"
255 else
|
215 AC_MSG_RESULT([fail])
216 AC_MSG_ERROR([Specified cacerts file "$CACERTS_FILE" does not exist])
217 fi
218 AC_MSG_RESULT([$CACERTS_FILE])
219 fi
220 AC_SUBST(CACERTS_FILE)
221
222 # Enable or disable unlimited crypto
223 AC_ARG_ENABLE(unlimited-crypto, [AS_HELP_STRING([--disable-unlimited-crypto],
224 [Disable unlimited crypto policy @<:@enabled@:>@])],,
225 [enable_unlimited_crypto=yes])
226 if test "x$enable_unlimited_crypto" = "xyes"; then
227 UNLIMITED_CRYPTO=true
228 else
229 UNLIMITED_CRYPTO=false
230 fi
231 AC_SUBST(UNLIMITED_CRYPTO)
232
233 # Should we build the serviceability agent (SA)?
234 INCLUDE_SA=true
235 if HOTSPOT_CHECK_JVM_VARIANT(zero); then
236 INCLUDE_SA=false
237 fi
238 if test "x$OPENJDK_TARGET_OS" = xaix ; then
239 INCLUDE_SA=false
240 fi
241 AC_SUBST(INCLUDE_SA)
242
243 # Compress jars
244 COMPRESS_JARS=false
245
246 AC_SUBST(COMPRESS_JARS)
247
248 # Setup default copyright year. Mostly overridden when building close to a new year.
249 AC_ARG_WITH(copyright-year, [AS_HELP_STRING([--with-copyright-year],
250 [Set copyright year value for build @<:@current year@:>@])])
251 if test "x$with_copyright_year" = xyes; then
252 AC_MSG_ERROR([Copyright year must have a value])
253 elif test "x$with_copyright_year" != x; then
254 COPYRIGHT_YEAR="$with_copyright_year"
255 else
|