613 [ 614 AC_ARG_ENABLE([manpages], [AS_HELP_STRING([--disable-manpages], 615 [Set to disable building of man pages @<:@enabled@:>@])]) 616 617 BUILD_MANPAGES="true" 618 AC_MSG_CHECKING([if man pages should be built]) 619 if test "x$enable_manpages" = "x"; then 620 AC_MSG_RESULT([yes]) 621 elif test "x$enable_manpages" = "xyes"; then 622 AC_MSG_RESULT([yes, forced]) 623 elif test "x$enable_manpages" = "xno"; then 624 AC_MSG_RESULT([no, forced]) 625 BUILD_MANPAGES="false" 626 else 627 AC_MSG_RESULT([no]) 628 AC_MSG_ERROR([--enable-manpages can only yes/no or empty]) 629 fi 630 631 AC_SUBST(BUILD_MANPAGES) 632 ]) | 613 [ 614 AC_ARG_ENABLE([manpages], [AS_HELP_STRING([--disable-manpages], 615 [Set to disable building of man pages @<:@enabled@:>@])]) 616 617 BUILD_MANPAGES="true" 618 AC_MSG_CHECKING([if man pages should be built]) 619 if test "x$enable_manpages" = "x"; then 620 AC_MSG_RESULT([yes]) 621 elif test "x$enable_manpages" = "xyes"; then 622 AC_MSG_RESULT([yes, forced]) 623 elif test "x$enable_manpages" = "xno"; then 624 AC_MSG_RESULT([no, forced]) 625 BUILD_MANPAGES="false" 626 else 627 AC_MSG_RESULT([no]) 628 AC_MSG_ERROR([--enable-manpages can only yes/no or empty]) 629 fi 630 631 AC_SUBST(BUILD_MANPAGES) 632 ]) 633 634 ################################################################################ 635 # 636 # Disable CDS archive generation 637 # 638 AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE], 639 [ 640 AC_ARG_ENABLE([cds-archive], [AS_HELP_STRING([--disable-cds-archive], 641 [Set to disable generation of a default CDS archive in the product image @<:@enabled@:>@])]) 642 643 AC_MSG_CHECKING([if a CDS archive should be generated]) 644 if test "x$COMPILE_TYPE" = "xcross"; then 645 AC_MSG_RESULT([no, not possible with cross compilation]) 646 BUILD_CDS_ARCHIVE="false" 647 elif test "x$enable_cds_archive" = "xyes"; then 648 AC_MSG_RESULT([yes, forced]) 649 BUILD_CDS_ARCHIVE="true" 650 elif HOTSPOT_CHECK_JVM_VARIANT(zero); then 651 AC_MSG_RESULT([no, not possible with JVM variant zero]) 652 BUILD_CDS_ARCHIVE="false" 653 elif test "x$enable_cds_archive" = "x"; then 654 AC_MSG_RESULT([yes]) 655 BUILD_CDS_ARCHIVE="true" 656 elif test "x$enable_cds_archive" = "xno"; then 657 AC_MSG_RESULT([no, forced]) 658 BUILD_CDS_ARCHIVE="false" 659 else 660 AC_MSG_RESULT([no]) 661 AC_MSG_ERROR([--enable-cds_archive can only be yes/no or empty]) 662 fi 663 664 AC_SUBST(BUILD_CDS_ARCHIVE) 665 ]) |