summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
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)