Commit 6a4bd960 authored by diego's avatar diego

Make use of disabled(), disabled_all() and enabled_all().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7742 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c9a1603b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment