diff options
author | Albert Astals Cid <aacid@kde.org> | 2008-03-22 19:10:40 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2008-03-22 19:10:40 +0100 |
commit | d9d52e622c6b28a9941168bb73839ec335ca7232 (patch) | |
tree | 95b788bd225d849de4cd3ad18189cde9f0de28b1 | |
parent | 9b8809298dd16cdbffcc12b6db8e274578934063 (diff) |
Fix configure to not require gdk when we are on try mode
-rw-r--r-- | configure.ac | 5 |
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"], |