< prev index next >

common/autoconf/hotspot.m4

Print this page




 144 
 145   AC_CHECK_HEADERS([sys/sdt.h], [DTRACE_HEADERS_OK=yes],[DTRACE_HEADERS_OK=no])
 146   if test "x$DTRACE_HEADERS_OK" != "xyes"; then
 147     DTRACE_DEP_MISSING=true
 148   fi
 149 
 150   AC_MSG_CHECKING([if dtrace should be built])
 151   if test "x$enable_dtrace" = "xyes"; then
 152     if test "x$DTRACE_DEP_MISSING" = "xtrue"; then
 153       AC_MSG_RESULT([no, missing dependencies])
 154       HELP_MSG_MISSING_DEPENDENCY([dtrace])
 155       AC_MSG_ERROR([Cannot enable dtrace with missing dependencies. See above. $HELP_MSG])
 156     else
 157       INCLUDE_DTRACE=true
 158       AC_MSG_RESULT([yes, forced])
 159     fi
 160   elif test "x$enable_dtrace" = "xno"; then
 161     INCLUDE_DTRACE=false
 162     AC_MSG_RESULT([no, forced])
 163   elif test "x$enable_dtrace" = "xauto" || test "x$enable_dtrace" = "x"; then
 164     if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK" != "xtrue"; then
 165       INCLUDE_DTRACE=false
 166       AC_MSG_RESULT([no, non-open linux build])
 167     elif test "x$DTRACE_DEP_MISSING" = "xtrue"; then
 168       INCLUDE_DTRACE=false
 169       AC_MSG_RESULT([no, missing dependencies])
 170     else
 171       INCLUDE_DTRACE=true
 172       AC_MSG_RESULT([yes, dependencies present])
 173     fi
 174   else
 175     AC_MSG_ERROR([Invalid value for --enable-dtrace: $enable_dtrace])
 176   fi
 177   AC_SUBST(INCLUDE_DTRACE)
 178 ])
 179 
 180 ###############################################################################
 181 # Set up all JVM features for each JVM variant.
 182 #
 183 AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
 184 [
 185   # The user can in some cases supply additional jvm features. For the custom
 186   # variant, this defines the entire variant.
 187   AC_ARG_WITH([jvm-features], [AS_HELP_STRING([--with-jvm-features],




 144 
 145   AC_CHECK_HEADERS([sys/sdt.h], [DTRACE_HEADERS_OK=yes],[DTRACE_HEADERS_OK=no])
 146   if test "x$DTRACE_HEADERS_OK" != "xyes"; then
 147     DTRACE_DEP_MISSING=true
 148   fi
 149 
 150   AC_MSG_CHECKING([if dtrace should be built])
 151   if test "x$enable_dtrace" = "xyes"; then
 152     if test "x$DTRACE_DEP_MISSING" = "xtrue"; then
 153       AC_MSG_RESULT([no, missing dependencies])
 154       HELP_MSG_MISSING_DEPENDENCY([dtrace])
 155       AC_MSG_ERROR([Cannot enable dtrace with missing dependencies. See above. $HELP_MSG])
 156     else
 157       INCLUDE_DTRACE=true
 158       AC_MSG_RESULT([yes, forced])
 159     fi
 160   elif test "x$enable_dtrace" = "xno"; then
 161     INCLUDE_DTRACE=false
 162     AC_MSG_RESULT([no, forced])
 163   elif test "x$enable_dtrace" = "xauto" || test "x$enable_dtrace" = "x"; then
 164     if test "x$DTRACE_DEP_MISSING" = "xtrue"; then



 165       INCLUDE_DTRACE=false
 166       AC_MSG_RESULT([no, missing dependencies])
 167     else
 168       INCLUDE_DTRACE=true
 169       AC_MSG_RESULT([yes, dependencies present])
 170     fi
 171   else
 172     AC_MSG_ERROR([Invalid value for --enable-dtrace: $enable_dtrace])
 173   fi
 174   AC_SUBST(INCLUDE_DTRACE)
 175 ])
 176 
 177 ###############################################################################
 178 # Set up all JVM features for each JVM variant.
 179 #
 180 AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
 181 [
 182   # The user can in some cases supply additional jvm features. For the custom
 183   # variant, this defines the entire variant.
 184   AC_ARG_WITH([jvm-features], [AS_HELP_STRING([--with-jvm-features],


< prev index next >