summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-02-18 17:20:39 -0500
committerColin Walters <walters@verbum.org>2013-02-18 17:20:39 -0500
commit9a57b567b4753d948a0c3027d0ff26debd7c7314 (patch)
tree06e68b3784235ca6513c224d04ad81568be31d8f /configure.ac
parent0f4cab0e5235950b11bc1f113e4b78f472dcb7a3 (diff)
downloadcaribou-9a57b567b4753d948a0c3027d0ff26debd7c7314.tar.gz
build: Mark as not supporting srcdir != builddir
Basically automake's vala rules cd $(srcdir), which breaks variable references like $(top_srcdir), since they're relative to the build directory.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 618af87..57e3253 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,6 +14,12 @@ AM_MAINTAINER_MODE([enable])
# to configure or passing V=1 to make
AM_SILENT_RULES([yes])
+dnl http://people.gnome.org/~walters/docs/build-api.txt
+dnl We don't support separate builddir when building from git;
+dnl The automake vala rules run cd srcdir which screws up the
+dnl top_srcdir variable references.
+echo \#buildapi-variable-no-builddir >/dev/null
+
AM_PATH_GLIB_2_0(2.27.5,,,gobject)
if test "$GLIB_LIBS" = ""; then
AC_MSG_ERROR(GLIB 2.27.5 or later is required to build libcaribou)