From 80b68984442163838958b8dfd01df33b4586745d Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Thu, 21 Mar 2013 20:33:46 +0100
Subject: [PATCH v3 12/13] build: Install aclocal files into an m4 directory
Status: obsolete

---
 .gitignore   | 1 +
 Makefile.am  | 2 ++
 bootstrap    | 1 +
 configure.ac | 1 +
 4 files changed, 5 insertions(+)

diff --git a/.gitignore b/.gitignore
index 44fc750..57f5a55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,7 @@ compile
 install-sh
 libtool
 ltmain.sh
+m4/
 missing
 stamp-h1
 autom4te.cache
diff --git a/Makefile.am b/Makefile.am
index 78ee2ad..28d4123 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,6 @@
 
+ACLOCAL_AMFLAGS = -I m4
+
 AM_MAKEFLAGS = --no-print-directory
 
 pkgincludedir = ${includedir}/near
diff --git a/bootstrap b/bootstrap
index 72240f7..cb2974e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,4 +1,5 @@
 #!/bin/sh
 
+mkdir -p m4
 autoreconf -fi
 rm -Rf autom4te.cache
diff --git a/configure.ac b/configure.ac
index 5b450dc..4a43bcd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,6 @@
 AC_PREREQ(2.60)
 AC_INIT(neard, 0.14, [linux-nfc@lists.01.org])
+AC_CONFIG_MACRO_DIR([m4])
 
 AM_INIT_AUTOMAKE([foreign subdir-objects color-tests])
 AC_CONFIG_HEADERS(config.h)
-- 
1.9.0.rc3.244.g3497008

