aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libkml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/libkml.rb')
-rw-r--r--Library/Formula/libkml.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/libkml.rb b/Library/Formula/libkml.rb
index b1d185416..785358378 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