Mercurial > mplayer.hg
comparison configure @ 28283:4d269077c3dd
Get rid of now unused FFmpeg ENABLE_ preprocessor directives.
author | diego |
---|---|
date | Thu, 15 Jan 2009 15:57:19 +0000 |
parents | 31849f6ac0c7 |
children | aeb2f9d93b14 |
comparison
equal
deleted
inserted
replaced
28282:31849f6ac0c7 | 28283:4d269077c3dd |
---|---|
8190 _nprefix=$3; | 8190 _nprefix=$3; |
8191 test -z "$_nprefix" && _nprefix='CONFIG' | 8191 test -z "$_nprefix" && _nprefix='CONFIG' |
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" | |
8196 else | 8195 else |
8197 echo "#define ${_nprefix}_$part 0" | 8196 echo "#define ${_nprefix}_$part 0" |
8198 echo "#define ENABLE_$part 0" | |
8199 fi | 8197 fi |
8200 done | 8198 done |
8201 } | 8199 } |
8202 | 8200 |
8203 echo "Creating config.h" | 8201 echo "Creating config.h" |
8577 $_def_fast_unaligned | 8575 $_def_fast_unaligned |
8578 $def_mlib | 8576 $def_mlib |
8579 $_def_mkstemp | 8577 $_def_mkstemp |
8580 $_def_pthreads | 8578 $_def_pthreads |
8581 $_def_threads | 8579 $_def_threads |
8582 #ifdef HAVE_THREADS | |
8583 #define ENABLE_THREADS 1 | |
8584 #else | |
8585 #define ENABLE_THREADS 0 | |
8586 #endif | |
8587 $_def_yasm | 8580 $_def_yasm |
8588 | 8581 |
8589 #define CONFIG_GPL 1 | 8582 #define CONFIG_GPL 1 |
8590 #define ENABLE_SMALL 0 | 8583 #define CONFIG_SMALL 0 |
8591 #define ENABLE_GRAY 0 | 8584 #define CONFIG_GRAY 0 |
8592 | 8585 |
8593 /* Some FFmpeg codecs depend on these. Enable them unconditionally for now. */ | 8586 /* Some FFmpeg codecs depend on these. Enable them unconditionally for now. */ |
8594 #define CONFIG_AANDCT 1 | 8587 #define CONFIG_AANDCT 1 |
8595 #define ENABLE_AANDCT 1 | |
8596 #define CONFIG_FFT 1 | 8588 #define CONFIG_FFT 1 |
8597 #define ENABLE_FFT 1 | |
8598 #define CONFIG_GOLOMB 1 | 8589 #define CONFIG_GOLOMB 1 |
8599 #define ENABLE_GOLOMB 1 | |
8600 #define CONFIG_MDCT 1 | 8590 #define CONFIG_MDCT 1 |
8601 #define ENABLE_MDCT 1 | |
8602 | 8591 |
8603 /* Use these registers in FFmpeg x86 inline asm. No proper detection yet. */ | 8592 /* Use these registers in FFmpeg x86 inline asm. No proper detection yet. */ |
8604 #define HAVE_EBX_AVAILABLE 1 | 8593 #define HAVE_EBX_AVAILABLE 1 |
8605 #ifndef MP_DEBUG | 8594 #ifndef MP_DEBUG |
8606 #define HAVE_EBP_AVAILABLE 1 | 8595 #define HAVE_EBP_AVAILABLE 1 |
8607 #endif | 8596 #endif |
8608 | 8597 |
8609 #define CONFIG_DECODERS 1 | 8598 #define CONFIG_DECODERS 1 |
8610 #define ENABLE_DECODERS 1 | |
8611 #define CONFIG_ENCODERS 1 | 8599 #define CONFIG_ENCODERS 1 |
8612 #define ENABLE_ENCODERS 1 | |
8613 | |
8614 #define CONFIG_DEMUXERS 1 | 8600 #define CONFIG_DEMUXERS 1 |
8615 #define ENABLE_DEMUXERS 1 | |
8616 | 8601 |
8617 $_def_muxers | 8602 $_def_muxers |
8618 | 8603 |
8619 /* External libraries used through libavcodec. */ | 8604 /* External libraries used through libavcodec. */ |
8620 $_def_faac_lavc | 8605 $_def_faac_lavc |