Commit d6ceace3 authored by Diego Biurrun's avatar Diego Biurrun

Use enabled/disabled functions where possible.

Originally committed as revision 7834 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 93dd19e0
...@@ -1399,7 +1399,7 @@ int main(){ ...@@ -1399,7 +1399,7 @@ int main(){
EOF EOF
if test "$?" != 0; then if test "$?" != 0; then
echo "$cc is unable to create an executable file." echo "$cc is unable to create an executable file."
if test -z "$cross_prefix" -a "$cross_compile" = no; then if test -z "$cross_prefix" && disabled cross_compile ; then
echo "If $cc is a cross-compiler, use the --cross-compile option." echo "If $cc is a cross-compiler, use the --cross-compile option."
echo "Only do this if you know what cross compiling means." echo "Only do this if you know what cross compiling means."
fi fi
...@@ -1648,7 +1648,7 @@ if enabled_any vhook liba52bin libfaadbin; then ...@@ -1648,7 +1648,7 @@ if enabled_any vhook liba52bin libfaadbin; then
add_extralibs $ldl add_extralibs $ldl
fi fi
if test "$targetos" = "CYGWIN" -a "$lstatic" = "yes" ; then if test "$targetos" = "CYGWIN" && enabled lstatic ; then
vhook="no" vhook="no"
echo echo
echo "At the moment vhooks don't work on Cygwin static builds." echo "At the moment vhooks don't work on Cygwin static builds."
......
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