[Libguestfs] [PATCH libguestfs 1/5] build: avoid some autoconf warnings

Richard W.M. Jones rjones at redhat.com
Mon Aug 24 10:48:19 UTC 2009


On Mon, Aug 24, 2009 at 12:21:53PM +0200, Jim Meyering wrote:
> From: Jim Meyering <meyering at redhat.com>
> 
> * configure.ac: Move gl_EARLY and gl_INIT to be earlier.
> ---
>  configure.ac |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
> 
> 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)])],
> -- 
> 1.6.4.378.g88f2f
> 
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs

ACK.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list