]> err.no Git - yubikey-personalization/commitdiff
AM_PROG_AR added for the newest automake
authorMaxim Burgerhout <maxim@wzzrd.com>
Fri, 12 Oct 2012 12:17:09 +0000 (14:17 +0200)
committerMaxim Burgerhout <maxim@wzzrd.com>
Fri, 12 Oct 2012 12:24:32 +0000 (14:24 +0200)
Needed on Fedora 18, at least. Will generate a warninig on older platforms,
like EL6, but will not prevent build.

Fixes these error messages during autoreconf:

    linking libtool libraries using a non-POSIX \
    /usr/share/automake-1.12/am/ltlibrary.am: archiver requires \
    'AM_PROG_AR' in 'configure.ac'

configure.ac

index 01e133c593c190a249235efcef36a31c6b2d3160..aa87a233f1ebde51cdbdfbe955930e33e78eaf1b 100644 (file)
@@ -49,6 +49,10 @@ LIBS="$PTHREAD_LIBS $LIBS"
 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 CC="$PTHREAD_CC"
 
+# required for newest autoconf
+m4_pattern_allow([AM_PROG_AR])
+AM_PROG_AR
+
 AC_LIBTOOL_WIN32_DLL
 AC_PROG_LIBTOOL
 AC_CANONICAL_HOST