[Libguestfs] [PATCH libguestfs] build: daemon/do_debug: parameters aren't always unused
Richard W.M. Jones
rjones at redhat.com
Mon Aug 10 12:26:01 UTC 2009
On Mon, Aug 10, 2009 at 01:50:33PM +0200, Jim Meyering wrote:
> Here's an updated patch:
>
> >From 0ef1036b57190610577e21a90667c6368e593827 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <meyering at redhat.com>
> Date: Mon, 10 Aug 2009 12:44:09 +0200
> Subject: [PATCH libguestfs] build: enable automake's silent rules option
>
> * configure.ac: Use AM_SILENT_RULES([yes]).
> Those who want verbose build output may configure with
> --disable-silent-rules or use "make V=1".
> * daemon/configure.ac: Likewise.
> ---
> configure.ac | 3 +++
> daemon/configure.ac | 3 +++
> 2 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index cf0591d..a78ca51 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -26,6 +26,9 @@ AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release[]libgu
> AC_CONFIG_AUX_DIR([build-aux])
> AM_INIT_AUTOMAKE([foreign])
>
> +m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
> +AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
> +
> AC_CONFIG_MACRO_DIR([m4])
>
> AC_PROG_LIBTOOL
> diff --git a/daemon/configure.ac b/daemon/configure.ac
> index b038d17..43e331b 100644
> --- a/daemon/configure.ac
> +++ b/daemon/configure.ac
> @@ -19,6 +19,9 @@ AC_INIT([libguestfs-daemon],[1.0.0])
> AC_CONFIG_AUX_DIR([build-aux])
> AM_INIT_AUTOMAKE([foreign])
>
> +m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
> +AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
> +
> AC_CONFIG_MACRO_DIR([m4])
>
> dnl If the user specified --enable-32bit, then force the C compiler
> --
> 1.6.4.300.gc9df
I verified this on CentOS 5.3, so ACK.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
More information about the Libguestfs
mailing list