gnomeos: Rebase mesa-no-builddir.patch

This commit is contained in:
Colin Walters 2012-01-29 17:39:30 -05:00
parent 50fb0c66bc
commit 18ed9ac589
1 changed files with 10 additions and 9 deletions

View File

@ -1,26 +1,27 @@
From 2a51740f99f9c0e97abab461154203fc22931b3c Mon Sep 17 00:00:00 2001
From ab5da742da64e1d2fbb96878d0450596d71d5656 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Sat, 14 Jan 2012 09:16:20 -0500
Subject: [PATCH] build: Note that we don't support srcdir != builddir
---
configure.ac | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
configure.ac | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7c50e3c..8a47911 100644
index c9e658c..b321324 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,9 @@ AC_CONFIG_AUX_DIR([bin])
@@ -18,6 +18,10 @@ AC_CONFIG_AUX_DIR([bin])
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([foreign])
+dnl http://people.gnome.org/~walters/docs/build-api.txt
+dnl We don't support srcdir != builddir.
+echo \#buildapi-variable-no-builddir >/dev/null
+
dnl Save user CFLAGS and CXXFLAGS so one can override the default ones
USER_CFLAGS="$CFLAGS"
USER_CXXFLAGS="$CXXFLAGS"
# Support silent build rules, requires at least automake-1.11. Disable
# by either passing --disable-silent-rules to configure or passing V=1
# to make
--
1.7.6.4
1.7.7