Skip to content

Commit

Permalink
enable threads by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nadvornik committed Jan 21, 2009
1 parent 0e1a79d commit aadb9ca
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,15 @@ AM_PATH_GTK_2_0(2.4.0,,AC_MSG_ERROR(GTK+ >= 2.4.0 not installed.))

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
Expand Down

0 comments on commit aadb9ca

Please sign in to comment.