SHA256
3
0
forked from pool/automake
automake/aclocal-am_ac.patch
Dirk Mueller 029916bb48 Accepting request 173676 from openSUSE:Factory:Staging:Automake
- add a script to replace obsolete macros in configure.*
- call it from aclocal to avoid having to patch hundreds of packages

- Remove 
- update config.guess/sub to the latest state 

- Remove automake-add-mkdir_p-temporarly.patch: 
  * Only temporary hack for openSUSE 12.2, now it is time to remove it
- add a script to replace obsolete macros in configure.*
- call it from aclocal to avoid having to patch hundreds of packages

OBS-URL: https://build.opensuse.org/request/show/173676
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=29
2013-04-29 09:54:26 +00:00

18 lines
637 B
Diff

--- 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)