From 79286dbc70a7f14ce9e35391c89b8e6fdc4e6e10 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 25 Oct 2012 21:07:48 +0200 Subject: [PATCH] configure: avoid warning with automake 1.12 on Cygwin With automake 1.12 came a new macro, AM_PROG_AR, which *must* be used if the archiver (eg. ar on GNU systems) is used, to support exotic archivers such as the one from Microsoft (lib). Unfortunately, this macro causes issues on older automake versions, and thus needs to be conditionalised (if that wasn't a word, it now is ;-) ) Furthermore, this macro *must* be called before we initialise libtool (with LT_INIT). Sigh... :-/ Signed-off-by: "Yann E. MORIN" --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index ed22393..473755d 100644 --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,7 @@ AC_SUBST([SILENT_MAKEFLAGS]) #---------------------------------------- # Prepare libtool +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Automake, we have a problem... LT_PREREQ([2.2.6]) LT_INIT([disable-static]) -- 2.39.5