'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
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