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:55:46 -0700
commitcff2fa886916eb4e7e471f418ce925ea3ae14217 (patch)
treec351ef30c3c4ad920bccebc44e01c764cf8c22b7 /configure.ac
parentc5a927ef1adfd51445946eb921728e2d72f1b6ca (diff)
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 <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 3d326315d4d..cb088221628 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)