Commits

Mikel Olasagasti Uranga committed 33c06ed

gnome-python-extras is needed for applet so don't check for it when applet is not built

Comments (0)

Files changed (2)

 AC_DEFUN([RVL_PYGTK], [
 	PKG_CHECK_MODULES(PYGTK, [pygtk-2.0 >= 2.8.0])
 	PKG_CHECK_MODULES(GNOME_PYTHON, [gnome-python-2.0 >= 2.10.0])
-	PKG_CHECK_MODULES(GNOME_PYTHON_EXTRAS, [gnome-python-extras-2.0 >= 2.10.0])
 
 	AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
 
 if test "x$with_applet" = "xyes" ; then
 	RVL_PYTHON_MODULE(bonobo, yes)
 	RVL_PYTHON_MODULE(gnomeapplet, yes)
+	PKG_CHECK_MODULES(GNOME_PYTHON_EXTRAS, [gnome-python-extras-2.0 >= 2.10.0])
 fi
 AM_CONDITIONAL([WITH_APPLET], [test "x$with_applet" = "xyes"])