summaryrefslogtreecommitdiff
path: root/config/grc_grc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/grc_grc.m4')
-rw-r--r--config/grc_grc.m414
1 files changed, 8 insertions, 6 deletions
diff --git a/config/grc_grc.m4 b/config/grc_grc.m4
index bb287fd1b..e6a3d766a 100644
--- a/config/grc_grc.m4
+++ b/config/grc_grc.m4
@@ -48,12 +48,14 @@ AC_DEFUN([GRC_GRC],[
dnl ########################################
dnl # test gtk version
dnl ########################################
- AC_MSG_CHECKING([for GTK version >= 2.10.0])
- if test `${PYTHON} -c "import gtk; print gtk.pygtk_version >= (2, 10, 0)"` = 'True'; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- passed=no
+ if test $passed = yes; then
+ AC_MSG_CHECKING([for GTK version >= 2.10.0])
+ if test `${PYTHON} -c "import gtk; print gtk.pygtk_version >= (2, 10, 0)"` = 'True'; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ passed=no
+ fi
fi
dnl ########################################