# HG changeset patch
# User mduigou
# Date 1389723922 28800
# Node ID 59d2bd4620b0bcc0bc4268c545b2769ce5ed613a
# Parent  5193a7e23f14f6192d409de36e798db99fb4a263
8031668: TOOLCHAIN_FIND_COMPILER unexpectedly resolves symbolic links
Reviewed-by: erikj, ihse

diff -r 5193a7e23f14 -r 59d2bd4620b0 common/autoconf/toolchain.m4
--- a/common/autoconf/toolchain.m4	Tue Jan 14 12:05:32 2014 +0100
+++ b/common/autoconf/toolchain.m4	Tue Jan 14 10:25:22 2014 -0800
@@ -166,8 +166,8 @@
     $1="$PROPER_COMPILER_$1"
   else
     AC_MSG_RESULT([no, keeping $1])
-    $1="$TEST_COMPILER"
   fi
+
   TOOLCHAIN_CHECK_COMPILER_VERSION([$1], [$COMPILER_NAME])
 ])