[PATCH v2 2/3] [build] add m4 directory



Follow the m4 directory configuration recommendation

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>
---
 Makefile.am  |    2 ++
 configure.ac |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 2a23577..b09aa4f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,6 +5,8 @@
 #
 # Copyright (C) 2010 Igalia S.L. All rights reserved.
 
+ACLOCAL_AMFLAGS = -I m4
+
 SUBDIRS = src test
 
 MAINTAINERCLEANFILES = \
diff --git a/configure.ac b/configure.ac
index d9e72d1..b40fb13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,7 @@ AC_INIT([prj_name], [prj_version])
 
 AM_INIT_AUTOMAKE([foreign])
 
+AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_SRCDIR([src])
 
 AM_CONFIG_HEADER(src/config.h)
-- 
1.7.0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]