aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-07-08 21:24:10 +0800
committerXavier Claessens <xclaesse@gmail.com>2010-07-08 21:24:10 +0800
commit701e8ee3edfb7a2de17f1d3b82137d0dfdb3388f (patch)
tree684b7bf27b4094309843314175d5f2602f968130 /configure.ac
parent5033a8f7fae372bece2f8c49c7fd1e7f69e37fb9 (diff)
downloadgsoc2013-empathy-701e8ee3edfb7a2de17f1d3b82137d0dfdb3388f.tar
gsoc2013-empathy-701e8ee3edfb7a2de17f1d3b82137d0dfdb3388f.tar.gz
gsoc2013-empathy-701e8ee3edfb7a2de17f1d3b82137d0dfdb3388f.tar.bz2
gsoc2013-empathy-701e8ee3edfb7a2de17f1d3b82137d0dfdb3388f.tar.lz
gsoc2013-empathy-701e8ee3edfb7a2de17f1d3b82137d0dfdb3388f.tar.xz
gsoc2013-empathy-701e8ee3edfb7a2de17f1d3b82137d0dfdb3388f.tar.zst
gsoc2013-empathy-701e8ee3edfb7a2de17f1d3b82137d0dfdb3388f.zip
Fail to build if --enable-gtk3 is passed but only gtk2 is available
Diffstat (limited to 'configure.ac')
-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)