summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-03-26 18:43:57 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-03-26 18:43:57 +0000
commitb26788db981a55c826b5f089627d271c65ead24d (patch)
tree6c8bb473f1970b16fcd66ff3dba23fcca38d285d
parentGerman translation update (diff)
downloadinkscape-b26788db981a55c826b5f089627d271c65ead24d.tar.gz
inkscape-b26788db981a55c826b5f089627d271c65ead24d.zip
Prevent config failure with GTK_CHECK_BACKEND when Gtk+ 3 dev is unavailable
(bzr r12249)
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0010229f9..52ae1a7fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -642,8 +642,14 @@ if test "x$enable_gtk3" = "xyes"; then
AC_MSG_ERROR([Some dependencies were not fulfilled for the experimental GTK+ 3 build. One possible cause for this is a new dependency on the gdl-3.0 development package.])
fi
+ dnl The following test is only defined if Gtk+ 3 development libraries
+ dnl are installed on the system. Therefore, it is guarded by an
+ dnl m4_ifdef statement. The ifdef can be probably be removed once we
+ dnl switch to Gtk+ 3 as a hard dependency
+
# Check whether we are using the X11 backend target for Gtk+ 3.
- GTK_CHECK_BACKEND([x11], , [have_x11=yes], [have_x11=no])
+ m4_ifdef([GTK_CHECK_BACKEND],
+ [GTK_CHECK_BACKEND([x11], , [have_x11=yes], [have_x11=no])])
# Enable strict build options that should work on most systems unless
# the build has been configured not to do so