From: Jim Meyering Date: Mon, 24 Aug 2009 09:34:22 +0000 (+0200) Subject: build: avoid some autoconf warnings X-Git-Tag: 1.0.69~36 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=acdf8907dee4fad3049bcc19921ffa96b9b5376b;hp=005c82b8b89c50f9fb606ce3f5855a0c9b7b1c23 build: avoid some autoconf warnings * configure.ac: Move gl_EARLY and gl_INIT to be earlier. --- diff --git a/configure.ac b/configure.ac index 5a3379b..2284dac 100644 --- a/configure.ac +++ b/configure.ac @@ -31,22 +31,22 @@ AM_SILENT_RULES([yes]) # make --enable-silent-rules the default. AC_CONFIG_MACRO_DIR([m4]) -AC_PROG_LIBTOOL - dnl Split up the version string. AC_DEFINE([PACKAGE_VERSION_MAJOR],[libguestfs_major],[Major version number]) AC_DEFINE([PACKAGE_VERSION_MINOR],[libguestfs_minor],[Minor version number]) AC_DEFINE([PACKAGE_VERSION_RELEASE],[libguestfs_release],[Release number]) AC_DEFINE([PACKAGE_VERSION_EXTRA],["libguestfs_extra"],[Extra version string]) +gl_EARLY +gl_INIT + +AC_PROG_LIBTOOL + dnl Check for basic C environment. AC_PROG_CC_STDC AC_PROG_INSTALL AC_PROG_CPP -gl_EARLY -gl_INIT - AC_ARG_ENABLE([gcc-warnings], [AS_HELP_STRING([--enable-gcc-warnings], [turn on lots of GCC warnings (for developers)])],