[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Re-remove the --disable-threads configure option
commit 353d2fe7e144dee5fbc9b4d6e47ada4edeba59cd
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date: Mon Feb 9 09:09:00 2015 +0100
Re-remove the --disable-threads configure option
---
changes/bug14819 | 5 +++++
configure.ac | 21 ++-------------------
2 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/changes/bug14819 b/changes/bug14819
new file mode 100644
index 0000000..7b47771
--- /dev/null
+++ b/changes/bug14819
@@ -0,0 +1,5 @@
+ o Minor bugfixes
+ - Remove the --disable-threads configure option again. It was accidentally
+ partially re-introduced in 29ac883606d6d5ebfdcc2efceb2b4b60ee6a8916.
+ Fixes bug 13819; bugfix on 0.2.6.2-alpha.
+
diff --git a/configure.ac b/configure.ac
index af16edf..8daddf0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,22 +156,6 @@ if test x$enable_systemd = xyes -a x$have_systemd != xyes ; then
AC_MSG_ERROR([Explicitly requested systemd support, but systemd not found])
fi
-AC_ARG_ENABLE(threads,
- AS_HELP_STRING(--disable-threads, disable multi-threading support))
-
-if test x$enable_threads = x; then
- case $host in
- *-*-solaris* )
- # Don't try multithreading on solaris -- cpuworkers seem to lock.
- AC_MSG_NOTICE([You are running Solaris; Sometimes threading makes
-cpu workers lock up here, so I will disable threads.])
- enable_threads="no";;
- *)
- enable_threads="yes";;
- esac
-fi
-
-
case $host in
*-*-solaris* )
AC_DEFINE(_REENTRANT, 1, [Define on some platforms to activate x_r() functions in time.h])
@@ -400,9 +384,8 @@ fi
AC_SEARCH_LIBS(pthread_create, [pthread])
AC_SEARCH_LIBS(pthread_detach, [pthread])
-AM_CONDITIONAL(THREADS_WIN32, test "$enable_threads" = "yes" && test "$bwin32" = "true")
-AM_CONDITIONAL(THREADS_PTHREADS, test "$enable_threads" = "yes" && test "$bwin32" = "false")
-AM_CONDITIONAL(THREADS_NONE, test "$enable_threads" != "yes")
+AM_CONDITIONAL(THREADS_WIN32, test "$bwin32" = "true")
+AM_CONDITIONAL(THREADS_PTHREADS, test "$bwin32" = "false")
dnl -------------------------------------------------------------------
dnl Check for functions before libevent, since libevent-1.2 apparently
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits