[libxml2] Restore thread support in default configuration



commit 858084fdec25a2617d626d0f65fac6c151136276
Author: Andrew W. Nosenko <andrew w nosenko gmail com>
Date:   Tue Oct 6 18:14:15 2009 +0200

    Restore thread support in default configuration
    
    * configure.in: use '||' for "logical OR" operator as it should to be
      instead of '|' (pipe)

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 4d540cf..627ce48 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" = "" | test "$with_threads" = "yes" ; 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"



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