changeset 2636:c135aa77a744

Update configure feature flag name (enable-sa-attach)
author mikael
date Tue, 27 Jun 2017 13:24:59 -0700
parents e0375e1b647e
children 35bc8605a84c
files common/autoconf/hotspot.m4
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/common/autoconf/hotspot.m4	Tue Jun 27 12:06:04 2017 -0700
+++ b/common/autoconf/hotspot.m4	Tue Jun 27 13:24:59 2017 -0700
@@ -246,7 +246,7 @@
 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.])])
 
@@ -258,19 +258,19 @@
   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])
@@ -279,7 +279,7 @@
       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)
 ])