From d998fa1a5a92d2ef7ed52c4e68ff26f3a2790735 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Thu, 6 Dec 2012 10:56:08 +0100 Subject: [PATCH] Improve previous commit --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 19480a88e..15d041efe 100644 --- a/configure.ac +++ b/configure.ac @@ -457,7 +457,9 @@ if test "$build_wizard" != "false" ; then build_wizard=false fi ]) - PKG_CHECK_MODULES(LIBGTK, [gtk+-2.0 >= 2.22.0],[build_wizard=true], +fi +if test "$build_wizard" != "false" ; then + PKG_CHECK_MODULES(LIBGTKWIZARD, [gtk+-2.0 >= 2.22.0],[build_wizard=true], [ if test "$build_wizard" = "true" ; then AC_MSG_ERROR([gtk+-2.0 < 2.22.0, assistant cannot be compiled.])