From: Måns Rullgård Date: Thu, 12 May 2005 23:06:47 +0000 (+0000) Subject: allow various x86 models with --tune X-Git-Tag: v0.5~13940 X-Git-Url: https://git.libav.org/?p=libav.git;a=commitdiff_plain;h=efc39ba89a6260f550077d7c37900bb35150a4a6 allow various x86 models with --tune Originally committed as revision 4230 to svn://svn.ffmpeg.org/ffmpeg/trunk --- 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