Mercurial > mplayer.hg
changeset 34971:7e818f6eadd8
Add HAVE_CPUNOP yasm define.
author | reimar |
---|---|
date | Wed, 08 Aug 2012 05:55:05 +0000 |
parents | 78bf01276896 |
children | 445009e9ee8d |
files | configure |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Wed Aug 08 05:38:30 2012 +0000 +++ b/configure Wed Aug 08 05:55:05 2012 +0000 @@ -2777,6 +2777,7 @@ fi echo "pextrd [eax], xmm0, 1" > $TMPS +yasm_features_all="cpunop" if test "$_yasm" ; then if ! yasm_check ; then if x86_64 ; then @@ -2787,6 +2788,8 @@ fi YASMFLAGS="-f $objformat $yasmdefines" yasm_check || die "yasm not found, use --yasm='' if you really want to compile without" + echo "CPU amdnop" > $TMPS + yasm_check && yasm_features="cpunop" fi fi if test $_yasm ; then @@ -8891,6 +8894,7 @@ echo "$(ff_config_enable "$arch_all" "$arch" "%" "ARCH")" >> "$TMPS" echo "$(ff_config_enable "$subarch_all" "$subarch" "%" "ARCH")" >> "$TMPS" echo "$(ff_config_enable "$cpuexts_all" "$cpuexts" "%" "HAVE")" >> "$TMPS" +echo "$(ff_config_enable "$yasm_features_all" "$yasm_features" "%" "HAVE")" >> "$TMPS" cmp -s "$TMPS" ffmpeg/config.asm || mv -f "$TMPS" ffmpeg/config.asm fi