From patchwork Wed Jul 25 15:04:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Lespiau X-Patchwork-Id: 1238111 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 67E053FD4F for ; Wed, 25 Jul 2012 15:06:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 256EDA0D87 for ; Wed, 25 Jul 2012 08:06:34 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id DD4ACA0CC9 for ; Wed, 25 Jul 2012 08:04:42 -0700 (PDT) Received: by wgbdr1 with SMTP id dr1so646802wgb.12 for ; Wed, 25 Jul 2012 08:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=skQ8H8WrUeh5YEP2sn1qdhTxiBX8ouA2u7sHevfr0bU=; b=IAzTMp6TOJK5XGWXtIKf0xDK+Jy9fzFqGj0F5GwejC30DlI4oXQRceJtszQeRtT4Im ElRgyE7tdAs0pjl/S/TRzamYtO8Q/sT0N4NcJnlEtv8uP8lnvAKADWXylSPhPTUnS2lw 01L5sEeUdTB863luYyRlwv6PSCa9GGVjMmZccFf0IutmTDoHzqiJnY7SS+qgbKuuiR9S x3Ep1MXXBjzeA4c9sGXlnmoRX0XVXSIuQlEsZ22lOTILOFjaYckDfXzzA+Xox4OizhYm tp6L02W4fQi8ybQiqL7Fh5NQbNvdSwpY4uFelM53tjZH7Y9Ta2d5LfyfRV/8wI14K7Ah D6NQ== Received: by 10.180.107.2 with SMTP id gy2mr5474813wib.2.1343228682158; Wed, 25 Jul 2012 08:04:42 -0700 (PDT) Received: from localhost.localdomain ([83.217.123.106]) by mx.google.com with ESMTPS id ep14sm3362796wid.0.2012.07.25.08.04.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jul 2012 08:04:41 -0700 (PDT) From: Damien Lespiau To: intel-gfx@lists.freedesktop.org Date: Wed, 25 Jul 2012 16:04:32 +0100 Message-Id: <1343228672-22750-1-git-send-email-damien.lespiau@gmail.com> X-Mailer: git-send-email 1.7.7.5 Subject: [Intel-gfx] [PATCH i-g-t] build: Make autoreconf honour ACLOCAL_FLAGS X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org From: Damien Lespiau When running autoreconf, it's possible to give flags to the underlying aclocal by declaring a ACLOCAL_AMFLAGS variable in the top level Makefile.am. Putting ${ACLOCAL_FLAGS} there allows the user to set an environment variable up before running autogen.sh and pull in the right directories to look for m4 macros, say an up-to-date version of the xorg-util macros. Signed-off-by: Damien Lespiau --- Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6cd724c..5ea0fd8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,6 +19,8 @@ # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} + SUBDIRS = lib man tools scripts tests benchmarks demos if BUILD_SHADER_DEBUGGER