Fix the next warnings:

libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
---

If you see my next patches you will see I remove --foreign handling in the
current format

 Makefile.am  |    2 ++
 configure.ac |    3 ++-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index a3b684f..db7640c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I m4
+
 SUBDIRS = lib/libftp lib/libpacman src/vercmp src/versort src/pacman-g2 
scripts doc etc
 
 if HAS_PERL
diff --git a/configure.ac b/configure.ac
index f52c6b2..74a757c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,10 +3,11 @@ ENV_CFLAGS=$CFLAGS
 AC_PREREQ(2.59)
 dnl Update it right before the release since $pkgver_foo are all _post_ 
release snapshots
 AC_INIT([pacman-g2 package manager], 3.7.5, [[email protected]], 
pacman-g2)
+AC_CONFIG_MACRO_DIR([m4])
 AC_LANG(C)
 AM_CONFIG_HEADER(config.h)
 AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
 AM_GNU_GETTEXT([external])
 AM_GNU_GETTEXT_VERSION(0.13.1)
 AC_C_BIGENDIAN
-- 
1.6.5

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to