summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2011-12-04 09:07:42 +0100
committerGwenole Beauchesne <gb.devel@gmail.com>2011-12-04 09:30:16 +0100
commit5132a0a08610bd84147929d160c11783d43cd579 (patch)
treeb733d120f655adfadadc6b68b9b82be01230f941
parentcfa64e64205112856d025c5898377dec665b251f (diff)
configure: allow silent builds (automake >= 1.11).
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d803391..7a85f48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,6 +73,12 @@ AC_C_BIGENDIAN
AC_HEADER_STDC
AC_SYS_LARGEFILE
+dnl Use pretty build output with automake >= 1.11
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], [
+ AM_DEFAULT_VERBOSITY=1
+ AC_SUBST(AM_DEFAULT_VERBOSITY)
+])
+
dnl We want pthreads. Try libpthread first, then libc_r (FreeBSD), then PTL.
HAVE_PTHREADS=yes
AC_CHECK_LIB(pthread, pthread_create, , [