]> git.puffer.fish Git - mirror/frr.git/commitdiff
build: detect and create AM_SILENT_RULES macro if needed
authorPawel Wieczorkiewicz <pwieczorkiewicz@suse.de>
Fri, 1 Apr 2016 10:54:38 +0000 (12:54 +0200)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Sat, 3 Sep 2016 15:05:51 +0000 (11:05 -0400)
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 <cisystem@netdef.org>
configure.ac

index edd77b2b8ae22341573f2a1ed2fb89a31bea7e28..e01af9e55e2116f90c0844844c18c5e6d2734db5 100755 (executable)
@@ -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)