< prev index next >

make/autoconf/jdk-options.m4

Print this page




 599 [
 600   AC_ARG_ENABLE([manpages], [AS_HELP_STRING([--disable-manpages],
 601       [Set to disable building of man pages @<:@enabled@:>@])])
 602 
 603   BUILD_MANPAGES="true"
 604   AC_MSG_CHECKING([if man pages should be built])
 605   if test "x$enable_manpages" = "x"; then
 606     AC_MSG_RESULT([yes])
 607   elif test "x$enable_manpages" = "xyes"; then
 608     AC_MSG_RESULT([yes, forced])
 609   elif test "x$enable_manpages" = "xno"; then
 610     AC_MSG_RESULT([no, forced])
 611     BUILD_MANPAGES="false"
 612   else
 613     AC_MSG_RESULT([no])
 614     AC_MSG_ERROR([--enable-manpages can only yes/no or empty])
 615   fi
 616 
 617   AC_SUBST(BUILD_MANPAGES)
 618 ])





































 599 [
 600   AC_ARG_ENABLE([manpages], [AS_HELP_STRING([--disable-manpages],
 601       [Set to disable building of man pages @<:@enabled@:>@])])
 602 
 603   BUILD_MANPAGES="true"
 604   AC_MSG_CHECKING([if man pages should be built])
 605   if test "x$enable_manpages" = "x"; then
 606     AC_MSG_RESULT([yes])
 607   elif test "x$enable_manpages" = "xyes"; then
 608     AC_MSG_RESULT([yes, forced])
 609   elif test "x$enable_manpages" = "xno"; then
 610     AC_MSG_RESULT([no, forced])
 611     BUILD_MANPAGES="false"
 612   else
 613     AC_MSG_RESULT([no])
 614     AC_MSG_ERROR([--enable-manpages can only yes/no or empty])
 615   fi
 616 
 617   AC_SUBST(BUILD_MANPAGES)
 618 ])
 619 
 620 ################################################################################
 621 #
 622 # Disable the default CDS archive generation
 623 #   cross compilation - disabled
 624 #   zero              - off by default (not a tested configuration)
 625 #
 626 AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE],
 627 [
 628   AC_ARG_ENABLE([cds-archive], [AS_HELP_STRING([--disable-cds-archive],
 629       [Set to disable generation of a default CDS archive in the product image @<:@enabled@:>@])])
 630 
 631   AC_MSG_CHECKING([if a default CDS archive should be generated])
 632   if test "x$COMPILE_TYPE" = "xcross"; then
 633     AC_MSG_RESULT([no, not possible with cross compilation])
 634     BUILD_CDS_ARCHIVE="false"
 635   elif test "x$enable_cds_archive" = "xyes"; then
 636     AC_MSG_RESULT([yes, forced])
 637     BUILD_CDS_ARCHIVE="true"
 638   elif HOTSPOT_CHECK_JVM_VARIANT(zero); then
 639     AC_MSG_RESULT([no])
 640     BUILD_CDS_ARCHIVE="false"
 641   elif test "x$enable_cds_archive" = "x"; then
 642     AC_MSG_RESULT([yes])
 643     BUILD_CDS_ARCHIVE="true"
 644   elif test "x$enable_cds_archive" = "xno"; then
 645     AC_MSG_RESULT([no, forced])
 646     BUILD_CDS_ARCHIVE="false"
 647   else
 648     AC_MSG_RESULT([no])
 649     AC_MSG_ERROR([--enable-cds_archive can only be yes/no or empty])
 650   fi
 651 
 652   AC_SUBST(BUILD_CDS_ARCHIVE)
 653 ])
< prev index next >