[Pkg-shadow-devel] Two warning while compiling pkg-shadow

Boštjan Škufca @ Teon.si bostjan at teon.si
Thu Sep 4 23:47:01 UTC 2014

When I run autogen, I get these warnings:

pkg-shadow# ./autogen.sh
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

They can be fixed by this patch:

diff --git a/Makefile.am b/Makefile.am
index 7492f07..b40e925 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,5 +4,7 @@ EXTRA_DIST = NEWS README TODO shadow.spec.in

 AUTOMAKE_OPTIONS = 1.5 dist-bzip2 foreign

 SUBDIRS = po man libmisc lib src \
        contrib doc etc
diff --git a/configure.in b/configure.in
index 1a3f841..b6c2026 100644
--- a/configure.in
+++ b/configure.in
@@ -2,6 +2,7 @@ dnl Process this file with autoconf to produce a configure
 AM_INIT_AUTOMAKE(shadow, 4.2)

 dnl Some hacks...
 test "$prefix" = "NONE" && prefix="/usr"

I am not really at home with autotools suite, so I do not know what impact
will this have on other platforms.


Boštjan Škufca
Teon d.o.o. | http://teon.si
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20140905/e8810d96/attachment-0001.html>

More information about the Pkg-shadow-devel mailing list