diff options
-rw-r--r-- | configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1230dc0ede0..f8e12f102d3 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,15 @@ 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"; + AM_MAKEFLAGS="$AM_MAKEFLAGS --no-print-directory"; +fi + +if make --help 2>&1 | grep -q quiet; then + AM_MAKEFLAGS="$AM_MAKEFLAGS --quiet" +fi + +if libtool --help 2>&1 | grep -q quiet; then + AM_LIBTOOLFLAGS="--quiet"; fi AM_CONFIG_HEADER([config.h]) @@ -481,6 +489,7 @@ AC_SUBST(GF_FUSE_LDADD) AC_SUBST(GF_FUSE_CFLAGS) AC_SUBST(RLLIBS) AC_SUBST(AM_MAKEFLAGS) +AC_SUBST(AM_LIBTOOLFLAGS) CONTRIBDIR='$(top_srcdir)/contrib' AC_SUBST(CONTRIBDIR) |