From cff2fa886916eb4e7e471f418ce925ea3ae14217 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Fri, 5 Aug 2011 14:04:43 +0530 Subject: save more trees make the build more silent Change-Id: Ied4c87c40af4b1f1034af4a13c1153d82883751b BUG: 3255 Reviewed-on: http://review.gluster.com/172 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- argp-standalone/configure.ac | 2 ++ configure.ac | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/argp-standalone/configure.ac b/argp-standalone/configure.ac index 55697c915..61124e206 100644 --- a/argp-standalone/configure.ac +++ b/argp-standalone/configure.ac @@ -10,6 +10,8 @@ AC_CONFIG_AUX_DIR([.]) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)]) + # GNU libc defaults to supplying the ISO C library functions only. The # _GNU_SOURCE define enables these extensions, in particular we want # errno.h to declare program_invocation_name. Enable it on all diff --git a/configure.ac b/configure.ac index 3d326315d..cb0882216 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,12 @@ AC_INIT([glusterfs],[3.1.0git],[gluster-users@gluster.org]) AM_INIT_AUTOMAKE +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)]) + +if make --help 2>&1 | grep -q no-print-directory; then + AM_MAKEFLAGS="--no-print-directory"; +fi + AM_CONFIG_HEADER([config.h]) AC_CONFIG_FILES([Makefile @@ -458,6 +464,7 @@ AC_SUBST(GF_LDFLAGS) AC_SUBST(GF_LDADD) AC_SUBST(GF_FUSE_CFLAGS) AC_SUBST(RLLIBS) +AC_SUBST(AM_MAKEFLAGS) CONTRIBDIR='$(top_srcdir)/contrib' AC_SUBST(CONTRIBDIR) -- cgit