From: Pawel Wieczorkiewicz Date: Fri, 1 Apr 2016 10:54:38 +0000 (+0200) Subject: build: detect and create AM_SILENT_RULES macro if needed X-Git-Tag: frr-2.0-rc1~338 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=50cfc0d2d7445bccf3f137dcaf4bf3ef56fe0f69;p=matthieu%2Ffrr.git build: detect and create AM_SILENT_RULES macro if needed Older libs have problem with that: configure.ac:17: warning: macro `AM_SILENT_RULES' not found in library ... configure.ac:24: error: possibly undefined macro: AM_SILENT_RULES Tested-by: NetDEF CI System --- diff --git a/configure.ac b/configure.ac index edd77b2b8a..e01af9e55e 100755 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,7 @@ AC_CANONICAL_HOST() AC_CANONICAL_TARGET() AM_INIT_AUTOMAKE(1.6) +m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) AM_SILENT_RULES([yes]) AC_CONFIG_HEADERS(config.h)