Added check for gthread; use gthread on windows
This commit is contained in:
parent
37b6f30801
commit
ff94f8fc11
@ -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_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"
|
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
|
if test x$MOO_USE_FAM = xyes; then
|
||||||
MOO_LIBS="$MOO_LIBS $FAM_LIBS"
|
MOO_LIBS="$MOO_LIBS $FAM_LIBS"
|
||||||
fi
|
fi
|
||||||
|
@ -63,6 +63,7 @@ AC_DEFUN([MOO_PKG_CHECK_GTK_VERSIONS],[
|
|||||||
AC_REQUIRE([MOO_AC_CHECK_OS])
|
AC_REQUIRE([MOO_AC_CHECK_OS])
|
||||||
_MOO_CHECK_VERSION(GTK, gtk+-2.0)
|
_MOO_CHECK_VERSION(GTK, gtk+-2.0)
|
||||||
_MOO_CHECK_VERSION(GLIB, glib-2.0)
|
_MOO_CHECK_VERSION(GLIB, glib-2.0)
|
||||||
|
_MOO_CHECK_VERSION(GTHREAD, gthread-2.0)
|
||||||
_MOO_CHECK_VERSION(GDK, gdk-2.0)
|
_MOO_CHECK_VERSION(GDK, gdk-2.0)
|
||||||
dnl _MOO_CHECK_BROKEN_GTK_THEME
|
dnl _MOO_CHECK_BROKEN_GTK_THEME
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user