Module: ngircd.git Branch: master Commit: 78d189fbf745741f42271557206cdde60d3ae857 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=78d18...
Author: Alexander Barton alex@barton.de Date: Mon Sep 24 20:39:06 2012 +0200
configure.ng: use AM_PROG_AR to check ar(1) command
This fixes
automake-1.12/am/library.am: warning: 'libngipaddr.a': linking libraries using a non-POSIX .../automake-1.12/am/library.am: archiver requires 'AM_PROG_AR' in 'configure.in' src/ipaddr/Makefile.am:12: while processing library 'libngipaddr.a'
and similar warnings of automake.
---
.gitignore | 1 + Makefile.am | 2 +- configure.ng | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore index bfa3542..4ccaedf 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ aclocal.m4 ansi2knr.1 ansi2knr.c ansi2knr.h +ar-lib autom4te.cache build-stamp-ngircd* config.log diff --git a/Makefile.am b/Makefile.am index b451b78..1edd751 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,7 @@ clean-local: maintainer-clean-local: rm -rf autom4te.cache rm -f Makefile.in Makefile aclocal.m4 configure - rm -f mkinstalldirs missing depcomp install-sh + rm -f ar-lib mkinstalldirs missing depcomp install-sh rm -f config.log debian
testsuite: diff --git a/configure.ng b/configure.ng index 7f3e2d9..3ac56c4 100644 --- a/configure.ng +++ b/configure.ng @@ -60,6 +60,7 @@ AC_PROG_CC_STDC
# -- Helper programs --
+AM_PROG_AR AC_PROG_AWK AC_PROG_INSTALL AC_PROG_LN_S