configure.ac: Add AM_PROG_AR for automake-1.12
authorW. Trevor King <wking@tremily.us>
Sat, 19 Jan 2013 02:32:00 +0000 (02:32 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 21 Jan 2013 15:55:21 +0000 (15:55 +0000)
commitaf00348ee77d3333f072970109a9e2323ce40086
treebfddd5f31c729315e844b7b5e7be0a83e77e0b98
parent977d9057a1199e352c335b82dfc7ef1835e3c52b
configure.ac: Add AM_PROG_AR for automake-1.12

This is what automake told me to do:

  $ ./autogen.sh
  ...
  automake: warnings are treated as errors
  /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libcomedi.la': linking libtool libraries using a non-POSIX
  /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
  lib/Makefile.am:2:   while processing Libtool library 'libcomedi.la'
  ...
  autoreconf-2.69: automake failed with exit status: 1

AM_PROG_AR is new in automake-1.11.2.  For further details, see:

  http://lists.gnu.org/archive/html/bug-automake/2012-05/msg00009.html
configure.ac