OSDN Git Service

Use ! disabled() where appropriate.
authorDiego Biurrun <diego@biurrun.de>
Sun, 28 Jan 2007 16:34:47 +0000 (16:34 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 28 Jan 2007 16:34:47 +0000 (16:34 +0000)
Originally committed as revision 7745 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 1b6bed0..07a70c4 100755 (executable)
--- a/configure
+++ b/configure
@@ -1161,7 +1161,7 @@ for opt do
   esac
 done
 
-if test "$logging" != no; then
+if ! disabled logging ; then
     enabled logging || logfile="$logging"
     echo "# $0 $@" >$logfile
     set >>$logfile
@@ -1314,7 +1314,7 @@ if test $targetos = Darwin; then
     fi
 fi
 
-if test $optimize != "no"; then
+if ! disabled optimize ; then
     add_cflags "-fomit-frame-pointer"
 fi
 
@@ -1571,7 +1571,7 @@ fi
 
 for thread in pthreads beosthreads os2threads w32threads; do
     if enabled $thread; then
-        if test $thread_type != "no"; then
+        if ! disabled thread_type ; then
             die "ERROR: Only one thread type must be selected."
         else
             thread_type="$thread"