diff --git a/m4/moo-flags.m4 b/m4/moo-flags.m4 index 747642af..a8df32cb 100644 --- a/m4/moo-flags.m4 +++ b/m4/moo-flags.m4 @@ -19,6 +19,10 @@ AC_DEFUN([MOO_AC_FLAGS],[ MOO_CFLAGS="$MOO_CFLAGS -I"$moo_top_src_dir/$1" $GTK_CFLAGS $MOO_PCRE_CFLAGS -DXDG_PREFIX=_moo_edit_xdg -DG_LOG_DOMAIN=\\\"Moo\\\"" MOO_LIBS="$MOO_LIBS $GTK_LIBS $MOO_PCRE_LIBS" + if test x$MOO_OS_MINGW = xyes; then + MOO_LIBS="$MOO_LIBS $GTHREAD_LIBS" + fi; + if test x$MOO_USE_FAM = xyes; then MOO_LIBS="$MOO_LIBS $FAM_LIBS" fi diff --git a/m4/moo-gtk.m4 b/m4/moo-gtk.m4 index 5b450d19..7d214642 100644 --- a/m4/moo-gtk.m4 +++ b/m4/moo-gtk.m4 @@ -63,6 +63,7 @@ AC_DEFUN([MOO_PKG_CHECK_GTK_VERSIONS],[ AC_REQUIRE([MOO_AC_CHECK_OS]) _MOO_CHECK_VERSION(GTK, gtk+-2.0) _MOO_CHECK_VERSION(GLIB, glib-2.0) +_MOO_CHECK_VERSION(GTHREAD, gthread-2.0) _MOO_CHECK_VERSION(GDK, gdk-2.0) dnl _MOO_CHECK_BROKEN_GTK_THEME ])