# HG changeset patch
# User t_mrc-ct@sourceforge.jp
# Date 1338804326 -32400
# Branch GECKO1708_2013080114_RELBRANCH
# Node ID c79e844387f42fb64a3fbd9a99f8784c916440d9
# Parent  6046f2c8e8e42bb9427d44e449828ae4c1443a0b
use $_SUBDIR_CC instead of $CC

diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -1797,10 +1797,10 @@
     MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(LIBXUL_DIST)/bin'
 
     # What Tenfourbird tuned for
-    if test "$CC"
+    if test "$_SUBDIR_CC"
     then
      changequote(,)
-     tenfourbird_mtune_test="`echo "$CC" | sed -E -ne 's|.*-mtune=([0-9a-zA-Z]+).*|\1|p' -e 'd'`" 
+     tenfourbird_mtune_test="`echo "$_SUBDIR_CC" | sed -E -ne 's#.*[[:blank:]]-mtune=([[:alnum:]]+)([[:blank:]].*)?$#\1#p' -e 'd'`" 
      changequote([,])
      case "$tenfourbird_mtune_test" in
      "G3"|"740"|"750")
