570 571 EXCLUDE_TRANSLATIONS="" 572 AC_MSG_CHECKING([if any translations should be excluded]) 573 if test "x$with_exclude_translations" != "x"; then 574 EXCLUDE_TRANSLATIONS="${with_exclude_translations//,/ }" 575 AC_MSG_RESULT([yes: $EXCLUDE_TRANSLATIONS]) 576 else 577 AC_MSG_RESULT([no]) 578 fi 579 580 AC_SUBST(EXCLUDE_TRANSLATIONS) 581 ]) 582 583 ################################################################################ 584 # 585 # Optionally disable man pages 586 # 587 AC_DEFUN([JDKOPT_ENABLE_DISABLE_MANPAGES], 588 [ 589 AC_ARG_ENABLE([manpages], [AS_HELP_STRING([--disable-manpages], 590 [Set to disable building of man pages @<:@enabled@:>@])]) 591 592 BUILD_MANPAGES="true" 593 AC_MSG_CHECKING([if man pages should be built]) 594 if test "x$enable_manpages" = "x"; then 595 AC_MSG_RESULT([yes]) 596 elif test "x$enable_manpages" = "xyes"; then 597 AC_MSG_RESULT([yes, forced]) 598 elif test "x$enable_manpages" = "xno"; then 599 AC_MSG_RESULT([no, forced]) 600 BUILD_MANPAGES="false" 601 else 602 AC_MSG_RESULT([no]) 603 AC_MSG_ERROR([--enable-manpages can only yes/no or empty]) 604 fi 605 606 AC_SUBST(BUILD_MANPAGES) 607 ]) 608 609 ################################################################################ 610 # 611 # Disable the default CDS archive generation 612 # cross compilation - disabled 613 # | 570 571 EXCLUDE_TRANSLATIONS="" 572 AC_MSG_CHECKING([if any translations should be excluded]) 573 if test "x$with_exclude_translations" != "x"; then 574 EXCLUDE_TRANSLATIONS="${with_exclude_translations//,/ }" 575 AC_MSG_RESULT([yes: $EXCLUDE_TRANSLATIONS]) 576 else 577 AC_MSG_RESULT([no]) 578 fi 579 580 AC_SUBST(EXCLUDE_TRANSLATIONS) 581 ]) 582 583 ################################################################################ 584 # 585 # Optionally disable man pages 586 # 587 AC_DEFUN([JDKOPT_ENABLE_DISABLE_MANPAGES], 588 [ 589 AC_ARG_ENABLE([manpages], [AS_HELP_STRING([--disable-manpages], 590 [Set to disable copy of static man pages @<:@enabled@:>@])]) 591 592 BUILD_MANPAGES="true" 593 AC_MSG_CHECKING([if static man pages should be copied]) 594 if test "x$enable_manpages" = "x"; then 595 AC_MSG_RESULT([yes]) 596 elif test "x$enable_manpages" = "xyes"; then 597 AC_MSG_RESULT([yes, forced]) 598 elif test "x$enable_manpages" = "xno"; then 599 AC_MSG_RESULT([no, forced]) 600 BUILD_MANPAGES="false" 601 else 602 AC_MSG_RESULT([no]) 603 AC_MSG_ERROR([--enable-manpages can only yes/no or empty]) 604 fi 605 606 AC_SUBST(BUILD_MANPAGES) 607 ]) 608 609 ################################################################################ 610 # 611 # Disable the default CDS archive generation 612 # cross compilation - disabled 613 # |