# HG changeset patch # User nadvornik # Date 1232562654 0 # Node ID 8544357045549e8c9cd753537d486b0da9fffc4a # Parent 13d4501bfa7a96b6ec7a1479b863c1987876934c enable threads by default diff -r 13d4501bfa7a -r 854435704554 configure.in --- 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