aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-01-28 16:20:11 +0000
committerDiego Biurrun <diego@biurrun.de>2007-01-28 16:20:11 +0000
commit2f7e6782f4dc211e876c44b7b657f670d0aced1a (patch)
tree8b456b0e45cd84fbc39fdcd45ac363ce783f059a /configure
parent85bca2c528a698ac93bb2c6aef298667d11468dc (diff)
downloadffmpeg-2f7e6782f4dc211e876c44b7b657f670d0aced1a.tar.gz
Make use of disabled(), disabled_all() and enabled_all().
Originally committed as revision 7742 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 0721dbfada..1d01d508bf 100755
--- a/configure
+++ b/configure
@@ -1209,7 +1209,7 @@ ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}"
# we need to build at least one lib type
-if disabled lstatic && disabled lshared; then
+if disabled_all lstatic lshared; then
cat <<EOF
At least one library type must be built.
Specify --enable-static to build the static libraries or --enable-shared to
@@ -1543,8 +1543,7 @@ fi
check_header malloc.h
check_func memalign
-if test "$memalign" = "no" -a "$need_memalign" = "yes" -a \
- "$memalign_hack" != "yes"; then
+if disabled memalign && enabled_all need_memalign memalign_hack ; then
die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
fi