From 32255f6c2a38ecf6cae0b7902815e24c8f1024dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger@gmx.de>
Date: Mon, 21 Aug 2006 19:02:50 +0000
Subject: [PATCH] cc -> $cc typo fix, caused amd64 to be misdetected as x86
 when cc not available

Originally committed as revision 6044 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 412e827a97..5af796f8ff 100755
--- a/configure
+++ b/configure
@@ -353,7 +353,7 @@ case "$cpu" in
   ;;
   x86_64|amd64)
     cpu="x86"
-    canon_arch="`cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
+    canon_arch="`$cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
     if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
       if [ -z "`echo $CFLAGS | grep -- -m32`"  ]; then
         cpu="x86_64"