From 014095c4ab55c977a6ab5834b798de1937e5c404 Mon Sep 17 00:00:00 2001 From: Magnus Ihse Bursie Date: Thu, 14 May 2020 19:15:39 +0200 Subject: [PATCH] 8245041: Fix incorrect output order in configure Reviewed-by: erikj --- make/autoconf/boot-jdk.m4 | 3 ++- make/autoconf/lib-tests.m4 | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/make/autoconf/boot-jdk.m4 b/make/autoconf/boot-jdk.m4 index dc443815948..593e9df4236 100644 --- a/make/autoconf/boot-jdk.m4 +++ b/make/autoconf/boot-jdk.m4 @@ -392,8 +392,9 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK], JJS="" AC_MSG_NOTICE([Cannot use pandoc without jjs]) ENABLE_PANDOC=false + else + AC_MSG_RESULT(ok) fi - AC_MSG_RESULT(ok) AC_SUBST(JJS) ]) ]) diff --git a/make/autoconf/lib-tests.m4 b/make/autoconf/lib-tests.m4 index b1437024332..4512291a4f0 100644 --- a/make/autoconf/lib-tests.m4 +++ b/make/autoconf/lib-tests.m4 @@ -77,6 +77,8 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_JMH], AC_MSG_RESULT([no, error]) AC_MSG_ERROR([$JMH_HOME does not exist or is not a directory]) fi + AC_MSG_RESULT([yes, $JMH_HOME]) + UTIL_FIXUP_PATH([JMH_HOME]) jar_names="jmh-core jmh-generator-annprocess jopt-simple commons-math3" @@ -84,17 +86,14 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_JMH], found_jar_files=$($ECHO $(ls $JMH_HOME/$jar-*.jar 2> /dev/null)) if test "x$found_jar_files" = x; then - AC_MSG_RESULT([no]) AC_MSG_ERROR([--with-jmh does not contain $jar-*.jar]) elif ! test -e "$found_jar_files"; then - AC_MSG_RESULT([no]) AC_MSG_ERROR([--with-jmh contain multiple $jar-*.jar: $found_jar_files]) fi found_jar_var_name=found_${jar//-/_} eval $found_jar_var_name='"'$found_jar_files'"' done - AC_MSG_RESULT([yes]) JMH_CORE_JAR=$found_jmh_core JMH_GENERATOR_JAR=$found_jmh_generator_annprocess