aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRamiro Polla <ramiro@lisha.ufsc.br>2007-01-27 07:58:21 +0000
committerDiego Biurrun <diego@biurrun.de>2007-01-27 07:58:21 +0000
commit9a46fe7509e3d239feff7b3ae420d9c1fe5a8b11 (patch)
tree77eb8200e57235522a872b9cf9999c0fda0e718d /configure
parent90be59ef9505ac0c2a0996b56814132578c47ade (diff)
downloadffmpeg-9a46fe7509e3d239feff7b3ae420d9c1fe5a8b11.tar.gz
Change one occurence of 'test $foo = yes -o test $bar = yes' to
'enabled_any foo bar', and one occurence of 'test $foo = yes && test $bar = yes' to 'enabled_all foo bar'. patch by Ramiro Polla, ramiro lisha.ufsc br Originally committed as revision 7723 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 7b6accb27d..db202628d8 100755
--- a/configure
+++ b/configure
@@ -1138,8 +1138,8 @@ else
logfile=/dev/null
fi
-if test "$mingw32" = "yes" -o "$wince" = "yes"; then
- if test "$lshared" = "yes" && test "$lstatic" = "yes" ; then
+if enabled_any mingw32 wince; then
+ if enabled_all lshared lstatic; then
cat <<EOF
You can only build one library type at once on MinGW.
Specify --disable-static --enable-shared to only build