diff -r 5a67c209abb4 -r 676afd13dea5 common/autoconf/build-performance.m4 --- a/common/autoconf/build-performance.m4 Thu May 11 20:19:08 2017 +0000 +++ b/common/autoconf/build-performance.m4 Fri May 12 21:13:24 2017 +0200 @@ -417,10 +417,8 @@ AC_SUBST(SJAVAC_SERVER_JAVA) if test "$MEMORY_SIZE" -gt "3000"; then - ADD_JVM_ARG_IF_OK([-d64],SJAVAC_SERVER_JAVA_FLAGS,[$SJAVAC_SERVER_JAVA]) - if test "$JVM_ARG_OK" = true; then + if "$JAVA" -version 2>&1 | $GREP -q "64-Bit"; then JVM_64BIT=true - JVM_ARG_OK=false fi fi