This tells automake to use an external linker (to create the libutil.a 
archive). It resolves the following warning:

[rwlove@vmF18 fcoe-utils]$ ./bootstrap.sh
automake: warnings are treated as errors
/usr/share/automake-1.12/am/library.am: warning: 'lib/libutil.a': linking 
libraries using a non-POSIX
/usr/share/automake-1.12/am/library.am: archiver requires 'AM_PROG_AR' in 
'configure.ac'
Makefile.am:33:   while processing library 'lib/libutil.a'
/usr/share/automake-1.12/am/library.am: warning: 'libopenfcoe.a': linking 
libraries using a non-POSIX
/usr/share/automake-1.12/am/library.am: archiver requires 'AM_PROG_AR' in 
'configure.ac'
Makefile.am:33:   while processing library 'libopenfcoe.a'
autoreconf: automake failed with exit status: 1

Signed-off-by: Robert Love <[email protected]>
---
 configure.ac |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 6d884e5..9d8f25e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,9 @@
 AC_INIT([fcoe-utils], [1.0.27], [[email protected]])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
+AM_PROG_AR
+AM_INIT_AUTOMAKE([foreign])
+
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_RANLIB

_______________________________________________
fcoe-devel mailing list
[email protected]
http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel

Reply via email to