SHA256
3
0
forked from pool/automake
automake/aclocal-am_ac.patch

18 lines
637 B
Diff
Raw Normal View History

--- aclocal.in.orig 2013-04-25 13:03:46.985573267 +0200
+++ aclocal.in 2013-04-25 15:12:06.778225114 +0200
@@ -1139,6 +1139,14 @@
# hence it should be output at a different position in aclocal.m4. If
# we did not rerun aclocal, the next run of aclocal would produce a
# different aclocal.m4.
+
+# Some packages fail fatally, since they still use the
+# AM_CONFIG_HEADER which is deprecated, instead of the
+# AC_CONFIG_HEADER macro in the configure.in/ac
+if(-e "/.buildenv" && -x "/usr/share/aclocal/aclocal-am_ac.sh"){
+ system("/usr/share/aclocal/aclocal-am_ac.sh");
+}
+
my $loop = 0;
my $rerun_due_to_macrodir = 0;
while (1)