summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2008-03-22 19:10:40 +0100
committerAlbert Astals Cid <aacid@kde.org>2008-03-22 19:10:40 +0100
commitd9d52e622c6b28a9941168bb73839ec335ca7232 (patch)
tree95b788bd225d849de4cd3ad18189cde9f0de28b1
parent9b8809298dd16cdbffcc12b6db8e274578934063 (diff)
Fix configure to not require gdk when we are on try mode
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 4105cc50..d0f2a1ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -228,8 +228,9 @@ if test x$enable_poppler_glib = xyes; then
PKG_CHECK_MODULES(GDK, gdk-2.0)
elif test x$enable_gdk = xtry; then
if test x$enable_splash_output = xyes; then
- PKG_CHECK_MODULES(GDK, gdk-2.0)
- enable_gdk=yes
+ PKG_CHECK_MODULES(GDK, gdk-2.0,
+ [enable_gdk="yes"],
+ [enable_gdk="no"])
elif test x$enable_cairo_output = xyes; then
PKG_CHECK_MODULES(GDK, gdk-2.0,
[enable_gdk="yes"],