< prev index next >

make/autoconf/hotspot.m4

Print this page
rev 49682 : 8201584: Fix configure on SLES 11 after 8201483

*** 441,451 **** # Update real feature set variable eval $features_var_name='"'$JVM_FEATURES_FOR_VARIANT'"' 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'}"` if test "x$INVALID_FEATURES" != x; then AC_MSG_ERROR([Internal configure script error. Invalid JVM feature(s): $INVALID_FEATURES]) fi done ]) --- 441,454 ---- # Update real feature set variable eval $features_var_name='"'$JVM_FEATURES_FOR_VARIANT'"' AC_MSG_RESULT(["$JVM_FEATURES_FOR_VARIANT"]) # Validate features (for configure script errors, not user errors) ! # Notice that the original variant fails on SLES 10 and 11 ! NEEDLE=${VALID_JVM_FEATURES// /$'\n'} ! STACK=${JVM_FEATURES_FOR_VARIANT// /$'\n'} ! INVALID_FEATURES=`$GREP -Fvx "${NEEDLE}" <<< "${STACK}"` if test "x$INVALID_FEATURES" != x; then AC_MSG_ERROR([Internal configure script error. Invalid JVM feature(s): $INVALID_FEATURES]) fi done ])
< prev index next >