cc -> $cc typo fix, caused amd64 to be misdetected as x86 when cc not available
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 21 Aug 2006 19:02:50 +0000 (19:02 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 21 Aug 2006 19:02:50 +0000 (19:02 +0000)
Originally committed as revision 6044 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 412e827..5af796f 100755 (executable)
--- 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"