[vala] build: Use m4 dir for autoconf macros



commit 26bd0a954342d5aad48dc89869595b664df5a027
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Mon May 11 00:49:19 2009 +0300

    build: Use m4 dir for autoconf macros
---
 .gitignore   |    1 +
 Makefile.am  |    1 +
 autogen.sh   |    1 +
 configure.ac |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 933dbc9..42c1298 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,6 +18,7 @@ configure
 depcomp
 libtool
 install-sh
+m4
 missing
 ltmain.sh
 ylwrap
diff --git a/Makefile.am b/Makefile.am
index fd434c9..3d35273 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,4 @@
+ACLOCAL_AMFLAGS = -I m4
 NULL =
 
 if ENABLE_VAPIGEN
diff --git a/autogen.sh b/autogen.sh
index 5d6ac73..7708a0c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,6 +8,7 @@ cd $srcdir
 
 # Automake requires that ChangeLog exist.
 touch ChangeLog
+mkdir -p m4
 
 autoreconf -v --install || exit 1
 cd $ORIGDIR || exit $?
diff --git a/configure.ac b/configure.ac
index b8e2139..31fc3f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,7 @@
 AC_INIT([vala], [0.7.3], [j bitron ch], [vala])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS(config.h)
+AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([dist-bzip2])
 AM_MAINTAINER_MODE
 



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