fix thread support selection
authorMåns Rullgård <mans@mansr.com>
Sun, 17 Jun 2007 23:29:35 +0000 (23:29 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 17 Jun 2007 23:29:35 +0000 (23:29 +0000)
Originally committed as revision 9358 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index b76ae7c..424938e 100755 (executable)
--- a/configure
+++ b/configure
@@ -1553,7 +1553,7 @@ fi
 
 for thread in $THREADS_LIST; do
     if enabled $thread; then
-        if ! disabled thread_type ; then
+        if test -n "$thread_type"; then
             die "ERROR: Only one thread type must be selected."
         else
             thread_type="$thread"