< prev index next >

make/autoconf/jdk-options.m4

Print this page

650 [
651   UTIL_ARG_ENABLE(NAME: cds-archive, DEFAULT: auto, RESULT: BUILD_CDS_ARCHIVE,
652       DESC: [enable generation of a default CDS archive in the product image],
653       DEFAULT_DESC: [enabled if possible],
654       CHECKING_MSG: [if a default CDS archive should be generated],
655       CHECK_AVAILABLE: [
656         AC_MSG_CHECKING([if CDS archive is available])
657         if test "x$ENABLE_CDS" = "xfalse"; then
658           AC_MSG_RESULT([no (CDS is disabled)])
659           AVAILABLE=false
660         elif test "x$COMPILE_TYPE" = "xcross"; then
661           AC_MSG_RESULT([no (not possible with cross compilation)])
662           AVAILABLE=false
663         else
664           AC_MSG_RESULT([yes])
665         fi
666       ])
667   AC_SUBST(BUILD_CDS_ARCHIVE)
668 ])
669 



























670 ################################################################################
671 #
672 # Enable the alternative CDS core region alignment
673 #
674 AC_DEFUN([JDKOPT_ENABLE_DISABLE_COMPATIBLE_CDS_ALIGNMENT],
675 [
676   UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: false,
677       RESULT: ENABLE_COMPATIBLE_CDS_ALIGNMENT,
678       DESC: [enable use alternative compatible cds core region alignment],
679       DEFAULT_DESC: [disabled],
680       CHECKING_MSG: [if compatible cds region alignment enabled],
681       CHECK_AVAILABLE: [
682         AC_MSG_CHECKING([if CDS archive is available])
683         if test "x$ENABLE_CDS" = "xfalse"; then
684           AVAILABLE=false
685           AC_MSG_RESULT([no (CDS is disabled)])
686         else
687           AVAILABLE=true
688           AC_MSG_RESULT([yes])
689         fi

650 [
651   UTIL_ARG_ENABLE(NAME: cds-archive, DEFAULT: auto, RESULT: BUILD_CDS_ARCHIVE,
652       DESC: [enable generation of a default CDS archive in the product image],
653       DEFAULT_DESC: [enabled if possible],
654       CHECKING_MSG: [if a default CDS archive should be generated],
655       CHECK_AVAILABLE: [
656         AC_MSG_CHECKING([if CDS archive is available])
657         if test "x$ENABLE_CDS" = "xfalse"; then
658           AC_MSG_RESULT([no (CDS is disabled)])
659           AVAILABLE=false
660         elif test "x$COMPILE_TYPE" = "xcross"; then
661           AC_MSG_RESULT([no (not possible with cross compilation)])
662           AVAILABLE=false
663         else
664           AC_MSG_RESULT([yes])
665         fi
666       ])
667   AC_SUBST(BUILD_CDS_ARCHIVE)
668 ])
669 
670 ################################################################################
671 #
672 # Enable or disable the default CDS archive generation for Compact Object Headers
673 #
674 AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE_COH],
675 [
676   UTIL_ARG_ENABLE(NAME: cds-archive-coh, DEFAULT: auto, RESULT: BUILD_CDS_ARCHIVE_COH,
677       DESC: [enable generation of default CDS archives for compact object headers (requires --enable-cds-archive)],
678       DEFAULT_DESC: [auto],
679       CHECKING_MSG: [if default CDS archives for compact object headers should be generated],
680       CHECK_AVAILABLE: [
681         AC_MSG_CHECKING([if CDS archive with compact object headers is available])
682         if test "x$BUILD_CDS_ARCHIVE" = "xfalse"; then
683           AC_MSG_RESULT([no (CDS default archive generation is disabled)])
684           AVAILABLE=false
685         elif test "x$OPENJDK_TARGET_CPU" != "xx86_64" &&
686              test "x$OPENJDK_TARGET_CPU" != "xaarch64"; then
687           AC_MSG_RESULT([no (compact object headers not supported for this platform)])
688           AVAILABLE=false
689         else
690           AC_MSG_RESULT([yes])
691           AVAILABLE=true
692         fi
693       ])
694   AC_SUBST(BUILD_CDS_ARCHIVE_COH)
695 ])
696 
697 ################################################################################
698 #
699 # Enable the alternative CDS core region alignment
700 #
701 AC_DEFUN([JDKOPT_ENABLE_DISABLE_COMPATIBLE_CDS_ALIGNMENT],
702 [
703   UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: false,
704       RESULT: ENABLE_COMPATIBLE_CDS_ALIGNMENT,
705       DESC: [enable use alternative compatible cds core region alignment],
706       DEFAULT_DESC: [disabled],
707       CHECKING_MSG: [if compatible cds region alignment enabled],
708       CHECK_AVAILABLE: [
709         AC_MSG_CHECKING([if CDS archive is available])
710         if test "x$ENABLE_CDS" = "xfalse"; then
711           AVAILABLE=false
712           AC_MSG_RESULT([no (CDS is disabled)])
713         else
714           AVAILABLE=true
715           AC_MSG_RESULT([yes])
716         fi
< prev index next >