< prev index next >
common/autoconf/hotspot.m4
Print this page
rev 2681 : [mq]: saattachdash
@@ -244,11 +244,11 @@
# Check if the serviceability agent attach functionality should be included.
#
AC_DEFUN_ONCE([HOTSPOT_SETUP_SA],
[
# Test for serviceability agent attach dependencies
- AC_ARG_ENABLE([saattach], [AS_HELP_STRING([--enable-saattach@<:@=yes/no/auto@:>@],
+ AC_ARG_ENABLE([sa-attach], [AS_HELP_STRING([--enable-sa-attach@<:@=yes/no/auto@:>@],
[enable serviceability agent attach. Default is auto, where it is enabled if all dependencies
are present.])])
SA_ATTACH_DEP_MISSING=false
@@ -256,32 +256,32 @@
if test "x$SA_ATTACH_HEADERS_OK" != "xyes"; then
SA_ATTACH_DEP_MISSING=true
fi
AC_MSG_CHECKING([if serviceability agent attach should be included])
- if test "x$enable_saattach" = "xyes"; then
+ if test "x$enable_sa_attach" = "xyes"; then
if test "x$SA_ATTACH_DEP_MISSING" = "xtrue"; then
AC_MSG_RESULT([no, missing dependencies])
- HELP_MSG_MISSING_DEPENDENCY([saattach])
- AC_MSG_ERROR([Cannot enable saattach with missing dependencies. See above. $HELP_MSG])
+ HELP_MSG_MISSING_DEPENDENCY([sa-attach])
+ AC_MSG_ERROR([Cannot enable sa-attach with missing dependencies. See above. $HELP_MSG])
else
INCLUDE_SA_ATTACH=true
AC_MSG_RESULT([yes, forced])
fi
- elif test "x$enable_saattach" = "xno"; then
+ elif test "x$enable_sa_attach" = "xno"; then
INCLUDE_SA_ATTACH=false
AC_MSG_RESULT([no, forced])
- elif test "x$enable_saattach" = "xauto" || test "x$enable_saattach" = "x"; then
+ elif test "x$enable_sa_attach" = "xauto" || test "x$enable_sa_attach" = "x"; then
if test "x$SA_ATTACH_DEP_MISSING" = "xtrue"; then
INCLUDE_SA_ATTACH=false
AC_MSG_RESULT([no, missing dependencies])
else
INCLUDE_SA_ATTACH=true
AC_MSG_RESULT([yes, dependencies present])
fi
else
- AC_MSG_ERROR([Invalid value for --enable-saattach: $enable_saattach])
+ AC_MSG_ERROR([Invalid value for --enable-sa-attach: $enable_sa_attach])
fi
AC_SUBST(INCLUDE_SA_ATTACH)
])
###############################################################################
< prev index next >