summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAndrew W. Nosenko <andrew.w.nosenko@gmail.com>2009-09-24 17:33:21 +0200
committerDaniel Veillard <veillard@redhat.com>2009-09-24 17:33:21 +0200
commit2bdf87e3444090414e9ae7f90e4ef9085963eb39 (patch)
tree803fb0c8feb9370276d3470140431747c7ddca2c /configure.in
parent410d2c4e90c8892fa69ca40161d5eddf55875f3a (diff)
downloadlibxml2-2bdf87e3444090414e9ae7f90e4ef9085963eb39.tar.gz
Restore behavior of --with-threads without argument
* configure.in: restore behavior of --with-threads without argument as "enable threads support"
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 90d8b738..811cd453 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"