aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sshfs.rb
diff options
context:
space:
mode:
authorCharlie Sharpsteen2013-01-05 22:00:04 -0800
committerCharlie Sharpsteen2013-01-05 22:05:29 -0800
commit465b4f76056da5f847d2190bc04e4b6039eb780c (patch)
tree96b5060f77601e87b99a15e7b7942052ddc843c8 /Library/Formula/sshfs.rb
parentfc2bd1773ebe1d2790bd8bd37439b5b39323e6d8 (diff)
downloadhomebrew-465b4f76056da5f847d2190bc04e4b6039eb780c.tar.bz2
sshfs: Restore compatibility with automake
Replace depreciated `AM_CONFIG_HEADER` macro, removed in automake 1.13, with `AC_CONFIG_HEADERS`. Fixes #16919.
Diffstat (limited to 'Library/Formula/sshfs.rb')
-rw-r--r--Library/Formula/sshfs.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/sshfs.rb b/Library/Formula/sshfs.rb
index 5871f2f31..f6d5a7eea 100644
--- a/Library/Formula/sshfs.rb
+++ b/Library/Formula/sshfs.rb
@@ -13,6 +13,9 @@ class Sshfs < Formula
depends_on 'glib'
def install
+ # Compatibility with Automake 1.13 and newer.
+ inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
+
system "autoreconf", "--force", "--install"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"