2b939e
# HG changeset patch
2b939e
# User mduigou
2b939e
# Date 1389723922 28800
2b939e
#      Tue Jan 14 10:25:22 2014 -0800
2b939e
# Node ID 842cc183c9f6d29270ff002238248978c08f0a66
2b939e
# Parent  f0635543beb309c4da1bb88c906a76ee4b75e16d
2b939e
8031668, PR2842: TOOLCHAIN_FIND_COMPILER unexpectedly resolves symbolic links
2b939e
Reviewed-by: erikj, ihse
2b939e
a42b25
diff --git a/common/autoconf/toolchain.m4 b/common/autoconf/toolchain.m4
a42b25
--- openjdk///common/autoconf/toolchain.m4
a42b25
+++ openjdk///common/autoconf/toolchain.m4
a42b25
@@ -230,8 +230,8 @@
2b939e
     $1="$PROPER_COMPILER_$1"
2b939e
   else
2b939e
     AC_MSG_RESULT([no, keeping $1])
2b939e
-    $1="$TEST_COMPILER"
2b939e
   fi
2b939e
+
a42b25
   TOOLCHAIN_EXTRACT_COMPILER_VERSION([$1], [$COMPILER_NAME])
2b939e
 ])
2b939e