From f1b21227fa733cd59c04b200a40fa923b4f17350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Colomb?= Date: Thu, 3 Nov 2016 11:07:18 +0100 Subject: [PATCH] Fix autoconf warnings. Move AM_PROG_AR and LT_INIT macros after gl_EARLY invocation, as advised by autoconf. --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 62ec525..43af0ec 100644 --- a/configure.ac +++ b/configure.ac @@ -27,8 +27,6 @@ AM_INIT_AUTOMAKE([foreign -Wall -Werror]) # Checks for programs. AC_USE_SYSTEM_EXTENSIONS AC_PROG_CC_C99 -AM_PROG_AR -LT_INIT # Use GNU Gnulib if required macros are present m4_ifdef([gl_EARLY], @@ -36,6 +34,10 @@ m4_ifdef([gl_EARLY], gnulib=1], [gnulib=0]) AM_CONDITIONAL([USE_GNULIB], [test "x$gnulib" = x1]) +# More checks for programs. +AM_PROG_AR +LT_INIT + # Checks for libraries. m4_ifdef([gl_INIT], [gl_INIT])