Commit 3bab0f91 authored by mru's avatar mru

rewrite some one-line if/then/fi using && and ||


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7917 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eea806eb
...@@ -1273,9 +1273,7 @@ if test $targetos = Darwin; then ...@@ -1273,9 +1273,7 @@ if test $targetos = Darwin; then
fi fi
fi fi
if ! disabled optimize ; then disabled optimize || add_cflags -fomit-frame-pointer
add_cflags "-fomit-frame-pointer"
fi
# Can only do AltiVec on PowerPC # Can only do AltiVec on PowerPC
if test $altivec = "default"; then if test $altivec = "default"; then
...@@ -1620,13 +1618,9 @@ elif check_func dlopen -ldl; then ...@@ -1620,13 +1618,9 @@ elif check_func dlopen -ldl; then
ldl=-ldl ldl=-ldl
fi fi
if test "$vhook" = "default"; then test "$vhook" = "default" && vhook="$dlopen"
vhook="$dlopen"
fi
if enabled_any vhook liba52bin libfaadbin; then enabled_any vhook liba52bin libfaadbin && add_extralibs $ldl
add_extralibs $ldl
fi
if test "$targetos" = "CYGWIN" && enabled lstatic ; then if test "$targetos" = "CYGWIN" && enabled lstatic ; then
vhook="no" vhook="no"
...@@ -1641,9 +1635,7 @@ if enabled vhook; then ...@@ -1641,9 +1635,7 @@ if enabled vhook; then
check_ldflags -export-dynamic check_ldflags -export-dynamic
fi fi
if enabled audio_beos; then enabled audio_beos && add_extralibs "-lmedia -lbe"
add_extralibs "-lmedia -lbe"
fi
########################################## ##########################################
# imlib check # imlib check
......
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