From 9a57b567b4753d948a0c3027d0ff26debd7c7314 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 18 Feb 2013 17:20:39 -0500 Subject: 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. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') 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) -- cgit v1.2.1