Jim Meyering
2009-Aug-10 10:47 UTC
[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 2001From: 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 | 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
Richard W.M. Jones
2009-Aug-10 10:59 UTC
[Libguestfs] [PATCH libguestfs] build: daemon/do_debug: parameters aren't always unused
On Mon, Aug 10, 2009 at 12:47:20PM +0200, Jim Meyering wrote:> 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: > +AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.I tried this one before but it doesn't work on RHEL 5.3: aclocal:configure.ac:27: warning: macro `AM_SILENT_RULES' not found in library libtoolize: `config.guess' exists: use `--force' to overwrite libtoolize: `config.sub' exists: use `--force' to overwrite libtoolize: `ltmain.sh' exists: use `--force' to overwrite aclocal:configure.ac:27: warning: macro `AM_SILENT_RULES' not found in library configure.ac:27: error: possibly undefined macro: AM_SILENT_RULES If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1 (There was another one I wanted to add to do with colouring error messages, that also doesn't work on RHEL 5). 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
Seemingly Similar Threads
- [PATCH libguestfs] build: enable automake's color-tests option
- PATCH: Don't force automake 1.11 AM_SILENT_RULES
- [nut-commits] svn commit r2610 - branches/silent_build
- Observations on compiling on Mac OS X 10.5 (Leopard)
- [PATCH] automake: Admit defeat and use 'subdir-objects'.