$OpenBSD: patch-bin_automake_in,v 1.3 2020/12/17 07:49:55 ajacoutot Exp $

Index: bin/automake.in
--- bin/automake.in.orig
+++ bin/automake.in
@@ -5246,6 +5246,7 @@ sub scan_autoconf_traces
 		_LT_AC_TAGCONFIG => 0,
 		m4_include => 1,
 		m4_sinclude => 1,
+		include => 1,
 		sinclude => 1,
 	      );
 
@@ -5274,6 +5275,7 @@ sub scan_autoconf_traces
       my ($here, $depth, @args) = split (/::/);
       $where = new Automake::Location $here;
       my $macro = $args[0];
+      next if ($macro eq "include");
 
       prog_error ("unrequested trace '$macro'")
 	unless exists $traced{$macro};
