From 8d808e99bbfd27d8ccd90241702130198c8dca4f Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Sun, 1 Nov 2009 17:27:24 +0000 Subject: [PATCH] Enable automake silent build rules by default. Support for silent build rules requires at least automake 1.11. Disable by either passing --disable-silent-rules to configure or passing V=1 to make. --- configure.ac | 2 ++ src/Makefile.am | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 99a2796..34cba11 100644 --- a/configure.ac +++ b/configure.ac @@ -5,6 +5,8 @@ AC_PROG_CC_C99 AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL +m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) + AC_MSG_CHECKING([for native Win32]) case "$host" in *-*-mingw*) diff --git a/src/Makefile.am b/src/Makefile.am index 1dcca90..01819d6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -91,9 +91,9 @@ libdivecomputer_la_DEPENDENCIES = libdivecomputer.exp libdivecomputer.exp: libdivecomputer.symbols if IRDA - $(CPP) -P -DSERIAL -DIRDA - < $< | sed -e '/^$$/d' > $@ + $(AM_V_GEN) $(CPP) -P -DSERIAL -DIRDA - < $< | sed -e '/^$$/d' > $@ else - $(CPP) -P -DSERIAL - < $< | sed -e '/^$$/d' > $@ + $(AM_V_GEN) $(CPP) -P -DSERIAL - < $< | sed -e '/^$$/d' > $@ endif CLEANFILES = libdivecomputer.exp