summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2011-08-05 14:04:43 +0530
committerAnand Avati <avati@gluster.com>2011-08-05 01:58:35 -0700
commit99d378d38320108d3bdc0f631add747a45437851 (patch)
treea3a4479ee7f428daeed20afeed1ff0ad5de4797f /configure.ac
parente2b2ac48e3c5e38fd980344ac52f1be8658e1418 (diff)
save more trees
make the build more silent Change-Id: Ied4c87c40af4b1f1034af4a13c1153d82883751b BUG: 3255 Reviewed-on: http://review.gluster.com/173 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d51d2ce78..b08bba902 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,12 @@ AC_INIT([glusterfs],[3.2git],[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
@@ -453,6 +459,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)