[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH libguestfs] build: daemon/do_debug: parameters aren't always unused



Thanks to the reminder from Dan Berrange,
here's a patch to make build output less verbose, by default.
E.g., instead of the redundant multi-line compilation/linking commands,
you'll see something like this by default:

  CC     guestfsd-fsck.o
  CC     guestfsd-grep.o
  CC     guestfsd-grub.o
  CC     guestfsd-glob.o
  CC     guestfsd-guestfsd.o
  CC     guestfsd-headtail.o
  CC     guestfsd-hexdump.o
  CC     guestfsd-initrd.o
  CC     guestfsd-inotify.o
  ...
  CC     guestfsd-zero.o
  CC     guestfsd-zerofree.o
  CCLD   guestfsd

If you want to diagnose a problem, or just prefer to see
full commands, build with "make V=1".

>From 4a2e4d21c49ed47dea15a2ccf3cb06e210626742 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering 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        |    1 +
 daemon/configure.ac |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index cf0591d..f2d05dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,7 @@ m4_define([libguestfs_extra],   [])
 AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release[]libguestfs_extra)
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE([foreign])
+AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.

 AC_CONFIG_MACRO_DIR([m4])

diff --git a/daemon/configure.ac b/daemon/configure.ac
index b038d17..3abc306 100644
--- a/daemon/configure.ac
+++ b/daemon/configure.ac
@@ -18,6 +18,7 @@
 AC_INIT([libguestfs-daemon],[1.0.0])
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE([foreign])
+AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.

 AC_CONFIG_MACRO_DIR([m4])

--
1.6.4.300.gc9df


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]