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:50:35 -0700
commitb22ffeec89bbefd2d7b9fa62a25ede5545f1cbe6 (patch)
tree7511f7e1fa767aff67be91e1f699c66f57bb7a69 /configure.ac
parent4b640273b05dec6923c13d14d4d40e136e2df99f (diff)
save more trees
make the build more silent Change-Id: Ied4c87c40af4b1f1034af4a13c1153d82883751b BUG: 3255 Reviewed-on: http://review.gluster.com/171 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.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6d343a4..1230dc0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,10 @@ 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
@@ -476,6 +480,7 @@ AC_SUBST(GF_LDADD)
AC_SUBST(GF_FUSE_LDADD)
AC_SUBST(GF_FUSE_CFLAGS)
AC_SUBST(RLLIBS)
+AC_SUBST(AM_MAKEFLAGS)
CONTRIBDIR='$(top_srcdir)/contrib'
AC_SUBST(CONTRIBDIR)