From ce584e4571816dc19f35763dec1d686f8892bae6 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 1 Jun 2009 11:56:23 -0400 Subject: Enable quiet build for automake >= 1.11 If automake 1.11 or higher is available, use of the configure option '--enable-silent-rules' will suppress most build messages and replace them with lines such as CC sysdb.o This affects libtool as well. --- common/collection/configure.ac | 3 +++ common/dhash/configure.ac | 3 +++ common/ini/configure.ac | 3 +++ replace/configure.ac | 3 +++ server/configure.ac | 3 +++ sss_client/configure.ac | 3 +++ 6 files changed, 18 insertions(+) diff --git a/common/collection/configure.ac b/common/collection/configure.ac index 32a238ce2..da34da0a5 100644 --- a/common/collection/configure.ac +++ b/common/collection/configure.ac @@ -7,6 +7,9 @@ AC_PROG_LIBTOOL AC_CONFIG_MACRO_DIR([m4]) AC_PROG_INSTALL +m4_pattern_allow([AM_SILENT_RULES]) +AM_SILENT_RULES + AC_CONFIG_HEADERS([config.h]) # Enable trace build diff --git a/common/dhash/configure.ac b/common/dhash/configure.ac index 847aa92fc..feabc4845 100644 --- a/common/dhash/configure.ac +++ b/common/dhash/configure.ac @@ -7,6 +7,9 @@ AC_PROG_LIBTOOL AC_CONFIG_MACRO_DIR([m4]) AC_PROG_INSTALL +m4_pattern_allow([AM_SILENT_RULES]) +AM_SILENT_RULES + AC_CONFIG_HEADERS([config.h]) # Enable trace build diff --git a/common/ini/configure.ac b/common/ini/configure.ac index 3cf479673..14280cfca 100644 --- a/common/ini/configure.ac +++ b/common/ini/configure.ac @@ -7,6 +7,9 @@ AC_PROG_LIBTOOL AC_CONFIG_MACRO_DIR([m4]) AC_PROG_INSTALL +m4_pattern_allow([AM_SILENT_RULES]) +AM_SILENT_RULES + AC_CONFIG_HEADERS([config.h]) # Enable trace build diff --git a/replace/configure.ac b/replace/configure.ac index b9236813c..697bb76eb 100644 --- a/replace/configure.ac +++ b/replace/configure.ac @@ -11,6 +11,9 @@ AC_LIBREPLACE_NETWORK_CHECKS AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) +m4_pattern_allow([AM_SILENT_RULES]) +AM_SILENT_RULES + if test "$ac_cv_prog_gcc" = yes; then CFLAGS="$CFLAGS -Wall" CFLAGS="$CFLAGS -W" diff --git a/server/configure.ac b/server/configure.ac index def37bd7f..a1060c11f 100644 --- a/server/configure.ac +++ b/server/configure.ac @@ -21,6 +21,9 @@ AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_CONFIG_MACRO_DIR([m4]) +m4_pattern_allow([AM_SILENT_RULES]) +AM_SILENT_RULES + if test "$ac_cv_prog_gcc" = yes; then CFLAGS="$CFLAGS -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings" fi diff --git a/sss_client/configure.ac b/sss_client/configure.ac index f899f86fb..f366a3cac 100644 --- a/sss_client/configure.ac +++ b/sss_client/configure.ac @@ -11,6 +11,9 @@ AC_CONFIG_MACRO_DIR([m4]) AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.17]) +m4_pattern_allow([AM_SILENT_RULES]) +AM_SILENT_RULES + AC_SUBST(PAM_LIBS) #Check for PAM headers -- cgit