From 93b3c0834d59c1cd790e2b9d16139d7515f560cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Wed, 1 Aug 2007 20:23:29 +0000 Subject: [PATCH] replace some "disabled" calls with "! enabled" Originally committed as revision 9859 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 6dc74a670b..9a8feec758 100755 --- a/configure +++ b/configure @@ -1223,7 +1223,7 @@ ranlib="${cross_prefix}${ranlib}" strip="${cross_prefix}${strip}" # we need to build at least one lib type -if disabled_all static shared; then +if ! enabled_any static shared; then cat < int main(int argc, char ** argv){ @@ -1517,7 +1517,7 @@ fi check_header malloc.h check_func memalign -if disabled_all memalign memalign_hack && enabled need_memalign ; then +if ! enabled_any memalign memalign_hack && enabled need_memalign ; then die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack." fi @@ -1850,7 +1850,7 @@ echo "libvorbis enabled ${libvorbis-no}" echo "x264 enabled ${libx264-no}" echo "XviD enabled ${libxvid-no}" echo "zlib enabled ${zlib-no}" -if disabled gpl; then +if ! enabled gpl; then echo "License: LGPL" else echo "License: GPL"