aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0de76f4b0..e00441024 100644
--- a/configure.ac
+++ b/configure.ac
@@ -177,6 +177,10 @@ else
have_gtk3="no"
fi
+if test "x$enable_gtk3" = "xyes" -a "x$have_gtk3" != "xyes"; then
+ AC_MSG_ERROR([Couldn't find gtk3 dependencies.])
+fi
+
if test "x$have_gtk3" == "xyes"; then
# GTK3 specific deps
PKG_CHECK_MODULES(CANBERRA, libcanberra-gtk3 >= $LIBCANBERRA_GTK_REQUIRED)