summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2012-11-26 20:49:02 +0100
committerJan Engelhardt <jengelh@inai.de>2012-11-26 21:03:13 +0100
commit9d92564566255c157fd6c2c0ac92c1b640af25fa (patch)
treee7ab0af6881c6e1f414d2105cb94856b3fd73de0
parenta96a3b6828ef4793a7187ceee85201a40c17bb91 (diff)
downloadlibnl-9d92564566255c157fd6c2c0ac92c1b640af25fa.tar.gz
build: resolve automake-1.12 warnings
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libnl-cli-3.la': linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' (one for each .la file) Signed-off-by: Jan Engelhardt <jengelh@inai.de>
-rw-r--r--.gitignore1
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index ec94f8d..12c9b94 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,6 +16,7 @@ defs.h.in~
cscope.*
/aclocal.m4
+/ar-lib
/autom4te.cache
/compile
/config.*
diff --git a/configure.ac b/configure.ac
index d120db4..56966a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,7 @@ AC_CONFIG_HEADERS([lib/defs.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)], [])
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
MAJ_VERSION=libnl_major_version
AC_SUBST(MAJ_VERSION)