Browse files

Automake 1.10.1 compat: AM_SILENT_RULES

Part of the automated testing involves building the source on Debian Lenny
which ships an ancient version of automake (1.10.1).  Historically, this
has caused a non-fatal warning about AM_SILENT_RULES not being defined.
But when the script was updated to use autoreconf the warning
became fatal. warning: macro `AM_SILENT_RULES' not found in library
  autoreconf: running: /usr/bin/autoconf --force error: possibly undefined macro: AM_SILENT_RULES
        If this token and others are legitimate, please use m4_pattern_allow.

To resolve this build issue the call to AM_SILENT_RULES has been wrapped
by m4_ifdef().  This prevents the macro from being expanded on platforms
where it's undefined.

Signed-off-by: Brian Behlendorf <>
  • Loading branch information...
1 parent 8c39262 commit 5b5a65b02225e6281b42b12a4d87bb210334b714 @behlendorf committed Apr 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -37,7 +37,7 @@ AC_CONFIG_AUX_DIR([config])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_HEADERS([zfs_config.h], [
(mv zfs_config.h zfs_config.h.tmp &&

0 comments on commit 5b5a65b

Please sign in to comment.