Skip to content

Commit

Permalink
Fix autoconf warnings.
Browse files Browse the repository at this point in the history
Move AM_PROG_AR and LT_INIT macros after gl_EARLY invocation, as advised by autoconf.
  • Loading branch information
André Colomb committed Nov 3, 2016
1 parent 083b6ca commit f1b2122
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,17 @@ 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],
[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])
Expand Down

0 comments on commit f1b2122

Please sign in to comment.