From: Yann E. MORIN" Date: Thu, 25 Oct 2012 19:07:48 +0000 (+0200) Subject: configure: avoid warning with automake 1.12 on Cygwin X-Git-Tag: v3.7.0.0~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=79286dbc70a7f14ce9e35391c89b8e6fdc4e6e10;p=kconfig-frontends 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" --- 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])