Commit e5d7e6e7 authored by diego's avatar diego

Use enabled/disabled functions where possible.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7834 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fd1003df
......@@ -1399,7 +1399,7 @@ int main(){
EOF
if test "$?" != 0; then
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 "Only do this if you know what cross compiling means."
fi
......@@ -1648,7 +1648,7 @@ if enabled_any vhook liba52bin libfaadbin; then
add_extralibs $ldl
fi
if test "$targetos" = "CYGWIN" -a "$lstatic" = "yes" ; then
if test "$targetos" = "CYGWIN" && enabled lstatic ; then
vhook="no"
echo
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