RFR(XS): 8201584: Fix configure on SLES 11 after 8201483

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Mon Apr 16 11:59:34 UTC 2018

On 2018-04-16 11:16, Lindenmaier, Goetz wrote:
> Hi,
> could I please get reviewes for this tiny fix?
> Grep does not grok the syntax of the replacement of space to newline.
> It causes configure failures on SLES 11.
> http://cr.openjdk.java.net/~goetz/wr18/8201584-fixSLES11configure/01/
Aha, that was the reason for those odd NEEDLE and STACK constructs. :-)

Goetz, please try this patch instead, which uses the new 
BASIC_GET_NON_MATCHING_VALUES function. Hopefully, it works correctly on 
SLES 11 as well.

diff --git a/make/autoconf/hotspot.m4 b/make/autoconf/hotspot.m4
--- a/make/autoconf/hotspot.m4
+++ b/make/autoconf/hotspot.m4
@@ -443,7 +443,7 @@

      # Validate features (for configure script errors, not user errors)
      if test "x$INVALID_FEATURES" != x; then
        AC_MSG_ERROR([Internal configure script error. Invalid JVM 
feature(s): $INVALID_FEATURES])


More information about the build-dev mailing list