From: Maxim Burgerhout Date: Fri, 12 Oct 2012 12:17:09 +0000 (+0200) Subject: AM_PROG_AR added for the newest automake X-Git-Tag: v1.8.1~7^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43c414e5d7db561a309b0282c11a6a88c278f3c3;p=yubikey-personalization AM_PROG_AR added for the newest automake 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' --- diff --git a/configure.ac b/configure.ac index 01e133c..aa87a23 100644 --- a/configure.ac +++ b/configure.ac @@ -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