Patchwork [Open-FCoE] build: Add AR_BUILD_AM to configure.ac

login
register
mail settings
Submitter Robert Love
Date May 9, 2013, 10 p.m.
Message ID <20130509220037.7419.87165.stgit@fritz>
Download mbox | patch
Permalink /patch/39/
State Accepted
Headers show

Comments

Robert Love - May 9, 2013, 10 p.m.
Tell Automake that it should import a linker/archiver. This patch fixes the following warnings on Fedora 18:

automake: warnings are treated as errors
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libhbalinux.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:4:   while processing Libtool library 'libhbalinux.la'

Signed-off-by: Robert Love <robert.w.love@intel.com>
---
 configure.ac |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/configure.ac b/configure.ac
index 061605c..4927998 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,6 @@ 
 AC_INIT([libhbalinux], [1.0.15], [fcoe-devel@open-fcoe.org])
+
+AM_PROG_AR
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 AC_PROG_LIBTOOL