Description: Invoke the AM_PROG_AR macro to silence an automake warning.
 Starting in automake 1.12, using libtool causes a warning about a non-POSIX
 archiver.  This is really libtool's problem, since the archiving step is
 handled by them.  This patch is a workaround until the libtool and automake
 guys talk to each other.
 See also: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11401
           http://lists.gnu.org/archive/html/automake/2012-05/msg00014.html
Author: Mike Neish <neishm@atmosp.physics.utoronto.ca>
Bug-Debian: http://bugs.debian.org/713337
Last-Update: 2013-07-02

--- a/configure.ac
+++ b/configure.ac
@@ -2,6 +2,8 @@
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+# The following line is required for libtool to work with automake >= 1.12
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 LT_INIT
 AC_PROG_CC
 AC_CONFIG_HEADERS([config.h])
