8201584: Fix configure on SLES 11 after 8201483
authorgoetz
Mon, 16 Apr 2018 11:08:07 +0200
changeset 49705 68ac1caf3d7e
parent 49704 bc1c7e41e285
child 49706 dd26184768b0
child 56443 5015de1c9326
8201584: Fix configure on SLES 11 after 8201483 Reviewed-by: ihse, simonis
make/autoconf/hotspot.m4
--- 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