summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2005-05-12 23:06:47 +0000
committerMåns Rullgård <mans@mansr.com>2005-05-12 23:06:47 +0000
commitefc39ba89a6260f550077d7c37900bb35150a4a6 (patch)
tree73b21e29db56b607f084136f815c592c72c7df24 /configure
parent5b558574bacb942a4ca78d4b33a86e6a2e9de972 (diff)
allow various x86 models with --tune
Originally committed as revision 4230 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 8d6705bb2b..6c2727bc36 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