diff --git a/Library/Formula/libkml.rb b/Library/Formula/libkml.rb index b1d185416a..785358378e 100644 --- a/Library/Formula/libkml.rb +++ b/Library/Formula/libkml.rb @@ -20,6 +20,10 @@ class Libkml < Formula # If the patch is applied, this find and replace will be unnecessary, but also # harmless inreplace 'configure.ac', '-Werror', '' + + # Compatibility with Automake 1.13 and newer. + inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADER' + system "./autogen.sh" end