summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-10-24 23:18:21 +0000
committerMåns Rullgård <mans@mansr.com>2008-10-24 23:18:21 +0000
commitb6bb00b07db90dde1877e17f12abd3a53a5bf3a0 (patch)
tree78f09dd0e57e41d6e6a6693cb170343d67e00b9e /configure
parent3c69e5d3deaaab0a45c5cddface51799667cf44e (diff)
Build MMX/SSE FFT only if CONFIG_FFT is set
Originally committed as revision 15692 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 64dabf94d0..6510d88423 100755
--- a/configure
+++ b/configure
@@ -858,6 +858,11 @@ HAVE_LIST="
yasm
"
+# options emitted with CONFIG_ prefix but not available on command line
+CONFIG_EXTRA="
+ fft_mmx
+"
+
CMDLINE_SELECT="
$ARCH_EXT_LIST
$CONFIG_LIST
@@ -909,6 +914,10 @@ neon_deps="armv4l"
ssse3_deps="x86"
vis_deps="sparc"
+# common features
+fft_suggest="fft_mmx"
+fft_mmx_deps="mmx yasm"
+
# decoders / encoders
aac_decoder_select="fft"
ac3_decoder_deps="gpl"
@@ -2015,6 +2024,7 @@ enabled_any $PROTOCOL_LIST && enable protocols
enabled_any $THREADS_LIST && enable threads
check_deps $CONFIG_LIST \
+ $CONFIG_EXTRA \
$HAVE_LIST \
$DECODER_LIST \
$ENCODER_LIST \
@@ -2224,6 +2234,7 @@ echo "EXTRALIBS=$extralibs" >> config.mak
print_config ARCH_ $TMPH config.mak $ARCH_LIST
print_config HAVE_ $TMPH config.mak $HAVE_LIST
print_config CONFIG_ $TMPH config.mak $CONFIG_LIST \
+ $CONFIG_EXTRA \
$DECODER_LIST \
$ENCODER_LIST \
$PARSER_LIST \