summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2015-01-23 14:31:17 (GMT)
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-01-23 14:31:48 (GMT)
commit69030c4037fe02d98d1dafc330a3c556c6653814 (patch)
tree29eaf7277900891fe99043939a65b7d0ea425e5d
parentbc77be3eac424004ff4571a3df6c24bdebce9714 (diff)
downloadfolks-69030c4037fe02d98d1dafc330a3c556c6653814.tar.gz
folks-69030c4037fe02d98d1dafc330a3c556c6653814.tar.xz
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.
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 79f72dd..cc44861 100644
--- a/configure.ac
+++ b/configure.ac
@@ -381,6 +381,12 @@ AC_ARG_ENABLE([vala],
[enable_vala=$enableval],
[enable_vala=no])
+# http://people.gnome.org/~walters/docs/build-api.txt
+# We don't support separate builddir when building from git;
+# The automake vala rules run cd srcdir which screws up the
+# top_srcdir variable references.
+echo \#buildapi-variable-no-builddir >/dev/null
+
# will be re-set as necessary below
AM_CONDITIONAL([HAVE_INTROSPECTION], [test "x$enable_vala" = "xyes"])
sd=${srcdir}/