# HG changeset patch
# User t_mrc-ct@sourceforge.jp
# Date 1338804326 -32400
# Branch GECKO17011esr_2013111808_RELBRANCH
# Node ID 5e94147710405e3bf3559df356966834331cc29f
# Parent  ba5d0170bc80495aa698e073719bf72359a2468f
use $_SUBDIR_CC instead of $CC

diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -1792,20 +1792,20 @@
             AC_MSG_RESULT([no])
         fi
         
         LDFLAGS=$_SAVE_LDFLAGS
     fi
     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")
       TENFOURBIRD_TUNED="PowerPC G3"
      ;;
      "G4"|"7400")
       TENFOURBIRD_TUNED="PowerPC G4"
      ;;
