Threads disabled unless specified for configure.
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 14 Sep 2000 12:05:08 +0000 (12:05 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 14 Sep 2000 12:05:08 +0000 (12:05 +0000)
configure
configure.in

index 47b4306..b61b06f 100755 (executable)
--- a/configure
+++ b/configure
@@ -26,7 +26,7 @@ ac_help="$ac_help
 ac_help="$ac_help
   --enable-tcpd[=PREFIX]  enable TCP wrapper for server if available"
 ac_help="$ac_help
-  --disable-threads       disable threads"
+  --enable-threads        enable POSIX threads"
 
 # Initialize some variables set by options.
 # The variables have the same names as the options, with
@@ -2252,7 +2252,7 @@ if test "${enable_threads+set}" = set; then
   enableval="$enable_threads"
   enable_threads=$enableval
 else
-  enable_threads=yes
+  enable_threads=no
 fi
 
 if test "$enable_threads" = "yes"; then
index a51dc7b..4765bc8 100644 (file)
@@ -1,6 +1,6 @@
 dnl YAZ Toolkit, Index Data 1994-2000
 dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.31 2000-09-09 08:05:57 adam Exp $
+dnl $Id: configure.in,v 1.32 2000-09-14 12:05:08 adam Exp $
 AC_INIT(include/yaz/yaz-version.h)
 AM_INIT_AUTOMAKE(yaz, 1.7)
 dnl
@@ -100,7 +100,7 @@ if test "$ac_cv_header_stdc" = "no"; then
 fi
 dnl
 dnl ------ Threads
-AC_ARG_ENABLE(threads, [  --disable-threads       disable threads],[enable_threads=$enableval],[enable_threads=yes])
+AC_ARG_ENABLE(threads, [  --enable-threads        enable POSIX threads],[enable_threads=$enableval],[enable_threads=no])
 if test "$enable_threads" = "yes"; then
        AC_CHECK_LIB(pthread,main)
        AC_MSG_CHECKING(for working POSIX Threads)