Added check for gthread; use gthread on windows

master
Yevgen Muntyan 2006-12-08 02:23:15 -06:00
parent 37b6f30801
commit ff94f8fc11
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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
])