]> granicus.if.org Git - jq/commitdiff
work with newer versions of automake 278/head
authorpolyester <paul@cleanclothes.org>
Sat, 25 Jan 2014 17:55:58 +0000 (18:55 +0100)
committerpolyester <paul@cleanclothes.org>
Sat, 25 Jan 2014 17:55:58 +0000 (18:55 +0100)
when using a newer automake, the autoreconf step fails with warnings:
"linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' "

This happens for instance on ubuntu 13.10.
Doing just that, adding 'AM_PROG_AR' to configure.ac fixes the problem.

configure.ac

index e9a069fc22367b323f76a52a367a546d48d9b306..41b6e5047b44b1c5117adc7224d8aa5affce684d 100644 (file)
@@ -8,6 +8,7 @@ AC_PREREQ([2.61])
 AC_CONFIG_AUX_DIR([config])
 AM_INIT_AUTOMAKE([parallel-tests foreign -Wall])
 AM_SILENT_RULES([yes])
+AM_PROG_AR
 AC_PROG_CC
 AC_PROG_CC_STDC
 AC_PROG_CPP_WERROR