Commit 1565a34c authored by diego's avatar diego

Use ! disabled() where appropriate.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7745 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6cb1a25d
...@@ -1161,7 +1161,7 @@ for opt do ...@@ -1161,7 +1161,7 @@ for opt do
esac esac
done done
if test "$logging" != no; then if ! disabled logging ; then
enabled logging || logfile="$logging" enabled logging || logfile="$logging"
echo "# $0 $@" >$logfile echo "# $0 $@" >$logfile
set >>$logfile set >>$logfile
...@@ -1314,7 +1314,7 @@ if test $targetos = Darwin; then ...@@ -1314,7 +1314,7 @@ if test $targetos = Darwin; then
fi fi
fi fi
if test $optimize != "no"; then if ! disabled optimize ; then
add_cflags "-fomit-frame-pointer" add_cflags "-fomit-frame-pointer"
fi fi
...@@ -1571,7 +1571,7 @@ fi ...@@ -1571,7 +1571,7 @@ fi
for thread in pthreads beosthreads os2threads w32threads; do for thread in pthreads beosthreads os2threads w32threads; do
if enabled $thread; then if enabled $thread; then
if test $thread_type != "no"; then if ! disabled thread_type ; then
die "ERROR: Only one thread type must be selected." die "ERROR: Only one thread type must be selected."
else else
thread_type="$thread" thread_type="$thread"
......
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