From 3c42f1ed3b22c6b9dc28a89aa02bae9fed87fe21 Mon Sep 17 00:00:00 2001 From: Sergey Cherepanov Date: Mon, 3 Dec 2012 13:43:13 +1100 Subject: [PATCH] Add checks for GObject. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index f8adb8e..6569911 100644 --- a/configure.ac +++ b/configure.ac @@ -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