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([--enable-jfr], 444 [Enable Java Flight Recorder support @<:@enabled@:>@])],, 445 [enable_jfr=yes]) 446 if test "x$enable_jfr" = "xno"; then 447 ENABLE_JFR=false 448 elif test "x$enable_jfr" = "xyes"; then 449 ENABLE_JFR=true 450 else 451 AC_MSG_ERROR([--enable-jfr must either be set to yes or no]) 452 fi 453 AC_MSG_RESULT([$ENABLE_JFR]) 454 AC_SUBST(ENABLE_JFR) 455 ]) 456 457 ############################################################################### 458 # 459 # Setup version numbers 460 # 461 AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS], 462 [ 463 # Source the version numbers 464 . $AUTOCONF_DIR/version-numbers 465 466 # Get the settings from parameters 467 AC_ARG_WITH(milestone, [AS_HELP_STRING([--with-milestone], 468 [Set milestone value for build @<:@internal@:>@])]) 469 if test "x$with_milestone" = xyes; then 470 AC_MSG_ERROR([Milestone must have a value]) 471 elif test "x$with_milestone" != x; then 472 MILESTONE="$with_milestone" 473 fi 474 if test "x$MILESTONE" = x; then |