[xml] [PATCH] Restore behavior of --with-threads without argument as "enable threads"



Restore behavior of
    $ configure --with-threads
i.e. without argument to --with-threads as "enable threads support"

Behavior was broken in commit
    203fd2e Allow to select the threading system on Windows

* configure.in: restore behavior of --with-threads without argument as
"enable threads support"
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index 90d8b73..811cd45 100644
--- a/configure.in
+++ b/configure.in
@@ -886,7 +886,7 @@ if test "$with_threads" = "no" ; then
 else
     echo Enabling multithreaded support
     dnl Use pthread by default
-    if test "$with_threads" = "pthread" | test "$with_threads" = "" ; then
+    if test "$with_threads" = "pthread" | test "$with_threads" = "" | test "$with_threads" = "yes" ; then
         AC_CHECK_HEADER(pthread.h,
            AC_CHECK_LIB(pthread, pthread_join,[
               THREAD_LIBS="-lpthread"
-- 
1.6.4.3





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]