From efc39ba89a6260f550077d7c37900bb35150a4a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Thu, 12 May 2005 23:06:47 +0000
Subject: [PATCH] allow various x86 models with --tune

Originally committed as revision 4230 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 8d6705bb2b3..6c2727bc365 100755
--- a/configure
+++ b/configure
@@ -691,8 +691,11 @@ if test $tune != "generic"; then
 	    TUNECPU=ppc970
             POWERPCMODE="64bits"
 	;;
+	i[3456]86|pentium|pentiumpro|pentium-mmx|pentium[234]|prescott|k6|k6-[23]|athlon|athlon-tbird|athlon-4|athlon-[mx]p|winchip-c6|winchip2|c3|nocona)
+	    CFLAGS="$CFLAGS -march=$tune"
+	;;
 	*)
-	echo "WARNING: unknown CPU "$tune", ignored"
+	echo "WARNING: unknown CPU \"$tune\", ignored"
 	;;
     esac
 fi
-- 
GitLab