Add checks for GObject.

This commit is contained in:
Sergey Cherepanov 2012-12-03 13:43:13 +11:00 committed by Lassi Kortela
parent 5a4ea5dd5c
commit 3c42f1ed3b
1 changed files with 5 additions and 0 deletions

View File

@ -570,6 +570,11 @@ AM_CONDITIONAL(HAVE_GROFF, test "${ac_cv_my_have_groff}" = "yes")
PKG_CHECK_MODULES(GTK, gtk+-2.0, ac_cv_my_have_gtk=yes, ac_cv_my_have_gtk=no)
AM_CONDITIONAL(HAVE_GTK, test "${ac_cv_my_have_gtk}" = "yes")
if test "${ac_cv_my_have_gtk}" = "yes"; then
PKG_CHECK_MODULES(GOBJECT, gobject-2.0, ac_cv_my_have_gobject=yes, ac_cv_my_have_gobject=no)
AM_CONDITIONAL(HAVE_GOBJECT, test "${ac_cv_my_have_gobject}" = "yes")
fi
dnl
dnl Finished!
dnl