Mercurial > mplayer.hg
comparison configure @ 28282:31849f6ac0c7
Sync with latest FFmpeg changes: #define disabled preprocessor directives
used by FFmpeg to 0 instead of leaving them undefined.
author | diego |
---|---|
date | Thu, 15 Jan 2009 15:56:24 +0000 |
parents | 234831aa5256 |
children | 4d269077c3dd |
comparison
equal
deleted
inserted
replaced
28281:234831aa5256 | 28282:31849f6ac0c7 |
---|---|
2488 test "$_mmx" = "yes" && fft_mmx="yes" | 2488 test "$_mmx" = "yes" && fft_mmx="yes" |
2489 _def_yasm='#define HAVE_YASM 1' | 2489 _def_yasm='#define HAVE_YASM 1' |
2490 _have_yasm="yes" | 2490 _have_yasm="yes" |
2491 echores "$_yasm" | 2491 echores "$_yasm" |
2492 else | 2492 else |
2493 _def_yasm='#undef HAVE_YASM' | 2493 _def_yasm='#define HAVE_YASM 0' |
2494 fft_mmx="no" | 2494 fft_mmx="no" |
2495 _have_yasm="no" | 2495 _have_yasm="no" |
2496 echores "no" | 2496 echores "no" |
2497 fi | 2497 fi |
2498 fi #if x86 | 2498 fi #if x86 |
8192 for part in $1; do | 8192 for part in $1; do |
8193 if ` echo $2 | grep -q -E "(^| )$part($| )" `; then | 8193 if ` echo $2 | grep -q -E "(^| )$part($| )" `; then |
8194 echo "#define ${_nprefix}_$part 1" | 8194 echo "#define ${_nprefix}_$part 1" |
8195 echo "#define ENABLE_$part 1" | 8195 echo "#define ENABLE_$part 1" |
8196 else | 8196 else |
8197 echo "#define ${_nprefix}_$part 0" | |
8197 echo "#define ENABLE_$part 0" | 8198 echo "#define ENABLE_$part 0" |
8198 fi | 8199 fi |
8199 done | 8200 done |
8200 } | 8201 } |
8201 | 8202 |