changeset 1246:854435704554

enable threads by default
author nadvornik
date Wed, 21 Jan 2009 18:30:54 +0000
parents 13d4501bfa7a
children 09da3f14490d
files configure.in
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Jan 21 18:16:26 2009 +0000
+++ b/configure.in	Wed Jan 21 18:30:54 2009 +0000
@@ -179,12 +179,15 @@
 
 have_gthread="no"
 AC_ARG_ENABLE([threads],
-  AC_HELP_STRING([--enable-threads], [enable thread support]),
+  AC_HELP_STRING([--disable-threads], [disable thread support]),
 [
-if test "x${enableval}" = "xyes"; then
+if test "x${enableval}" != "xno"; then
   PKG_CHECK_MODULES(GTHREAD, [gthread-2.0], have_gthread="yes", [AC_MSG_WARN("No thread support in glib")])
 fi
-], )
+], 
+dnl enable by default
+  PKG_CHECK_MODULES(GTHREAD, [gthread-2.0], have_gthread="yes", [AC_MSG_WARN("No thread support in glib")])
+)
 
 
 if test "x$have_gthread" != "xno"; then