< prev index next >

common/autoconf/jdk-options.m4

Print this page




 417     AC_MSG_CHECKING([if elliptic curve crypto implementation is present])
 418 
 419     if test -d "${SRC_ROOT}/jdk/src/share/native/sun/security/ec/impl"; then
 420       ENABLE_INTREE_EC=yes
 421       AC_MSG_RESULT([yes])
 422     else
 423       ENABLE_INTREE_EC=no
 424       AC_MSG_RESULT([no])
 425     fi
 426 
 427     AC_SUBST(ENABLE_INTREE_EC)
 428   ])
 429 
 430   ###############################################################################
 431   #
 432   # Compress jars
 433   #
 434   COMPRESS_JARS=false
 435 
 436   AC_SUBST(COMPRESS_JARS)


























 437 ])
 438 
 439 ###############################################################################
 440 #
 441 # Setup version numbers
 442 #
 443 AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS],
 444 [
 445   # Source the version numbers
 446   . $AUTOCONF_DIR/version-numbers
 447 
 448   # Get the settings from parameters
 449   AC_ARG_WITH(milestone, [AS_HELP_STRING([--with-milestone],
 450       [Set milestone value for build @<:@internal@:>@])])
 451   if test "x$with_milestone" = xyes; then
 452     AC_MSG_ERROR([Milestone must have a value])
 453   elif test "x$with_milestone" != x; then
 454     MILESTONE="$with_milestone"
 455   fi
 456   if test "x$MILESTONE" = x; then




 417     AC_MSG_CHECKING([if elliptic curve crypto implementation is present])
 418 
 419     if test -d "${SRC_ROOT}/jdk/src/share/native/sun/security/ec/impl"; then
 420       ENABLE_INTREE_EC=yes
 421       AC_MSG_RESULT([yes])
 422     else
 423       ENABLE_INTREE_EC=no
 424       AC_MSG_RESULT([no])
 425     fi
 426 
 427     AC_SUBST(ENABLE_INTREE_EC)
 428   ])
 429 
 430   ###############################################################################
 431   #
 432   # Compress jars
 433   #
 434   COMPRESS_JARS=false
 435 
 436   AC_SUBST(COMPRESS_JARS)
 437 
 438   ###############################################################################
 439   #
 440   # Enable or disable JFR
 441   #
 442   AC_MSG_CHECKING([whether to build jfr])
 443   AC_ARG_ENABLE(jfr, [AS_HELP_STRING([--disable-jfr],
 444       [Disable Java Flight Recorder support @<:@enabled@:>@])],,
 445       [enable_jfr=auto])
 446   if test "x$enable_jfr" = "xno"; then
 447     ENABLE_JFR=false
 448   elif test "x$enable_jfr" = "xyes" -o "x$enable_jfr" = "xauto"; then
 449     if test "x$JVM_VARIANT_MINIMAL1" = "xtrue" -o "x$JVM_VARIANT_ZERO" = "xtrue"; then
 450       if test "x$enable_jfr" = "xyes"; then
 451         AC_MSG_ERROR([cannot enable JFR on minimal1 VM or zero build])
 452       else
 453         ENABLE_JFR=false
 454       fi
 455     else
 456       ENABLE_JFR=true
 457     fi
 458   else
 459     AC_MSG_ERROR([--enable-jfr must either be set to yes or no])
 460   fi
 461   AC_MSG_RESULT([$ENABLE_JFR])
 462   AC_SUBST(ENABLE_JFR)
 463 ])
 464 
 465 ###############################################################################
 466 #
 467 # Setup version numbers
 468 #
 469 AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS],
 470 [
 471   # Source the version numbers
 472   . $AUTOCONF_DIR/version-numbers
 473 
 474   # Get the settings from parameters
 475   AC_ARG_WITH(milestone, [AS_HELP_STRING([--with-milestone],
 476       [Set milestone value for build @<:@internal@:>@])])
 477   if test "x$with_milestone" = xyes; then
 478     AC_MSG_ERROR([Milestone must have a value])
 479   elif test "x$with_milestone" != x; then
 480     MILESTONE="$with_milestone"
 481   fi
 482   if test "x$MILESTONE" = x; then


< prev index next >