[Buildd-tools-devel] [PATCH 06/22] Adapt boostrap from libtoolize suggestions.

Jan-Marek Glogowski glogow at fbihome.de
Thu Mar 26 21:13:44 UTC 2009


This adds ACLOCAL_AMFLAGS and AC_CONFIG_MACRO_DIR and removed
autom4te.cache at the end of the bootstrap run.
---
 Makefile.am  |    2 ++
 bootstrap    |    1 +
 configure.ac |    4 +++-
 3 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 33d9873..7d5c282 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,6 +19,8 @@
 #
 #####################################################################
 
+ACLOCAL_AMFLAGS=-I m4
+
 include $(top_srcdir)/scripts/global.mk
 
 SUBDIRS = sbuild bin test doc po
diff --git a/bootstrap b/bootstrap
index ee12492..82b32da 100755
--- a/bootstrap
+++ b/bootstrap
@@ -28,4 +28,5 @@ automake --add-missing --gnu --force --copy
 echo "autoconf"
 autoconf
 
+rm -rf autom4te.cache/
 
diff --git a/configure.ac b/configure.ac
index 1d5a1dc..198552e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,9 +57,11 @@ dnl checking for a known unique file.
 AC_CONFIG_SRCDIR([sbuild/sbuild-session.cc])
 dnl Place auxilliary scripts here.
 AC_CONFIG_AUX_DIR([scripts])
-dnl Put macro definitions here.
+dnl Add config headers.
 AC_CONFIG_HEADER([config.h])
 AC_CONFIG_HEADER([sbuild/sbuild-config.h])
+dnl Put macro definitions here.
+AC_CONFIG_MACRO_DIR([m4])
 
 AC_COPYRIGHT(
 [
-- 
1.6.2.1




More information about the Buildd-tools-devel mailing list