changeset 49705:68ac1caf3d7e

8201584: Fix configure on SLES 11 after 8201483 Reviewed-by: ihse, simonis
author goetz
date Mon, 16 Apr 2018 11:08:07 +0200
parents bc1c7e41e285
children dd26184768b0
files make/autoconf/hotspot.m4
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/autoconf/hotspot.m4	Mon Apr 16 11:11:52 2018 +0200
+++ b/make/autoconf/hotspot.m4	Mon Apr 16 11:08:07 2018 +0200
@@ -443,7 +443,7 @@
     AC_MSG_RESULT(["$JVM_FEATURES_FOR_VARIANT"])
 
     # Validate features (for configure script errors, not user errors)
-    INVALID_FEATURES=`$GREP -Fvx "${VALID_JVM_FEATURES// /$'\n'}" <<< "${JVM_FEATURES_FOR_VARIANT// /$'\n'}"`
+    BASIC_GET_NON_MATCHING_VALUES(INVALID_FEATURES, $JVM_FEATURES_FOR_VARIANT, $VALID_JVM_FEATURES)
     if test "x$INVALID_FEATURES" != x; then
       AC_MSG_ERROR([Internal configure script error. Invalid JVM feature(s): $INVALID_FEATURES])
     fi