From 6649004d74aef257c94af1c42e82fdee4db1d291 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Sat, 5 Jan 2013 22:00:04 -0800 Subject: [PATCH] sshfs: Restore compatibility with automake Replace depreciated `AM_CONFIG_HEADER` macro, removed in automake 1.13, with `AC_CONFIG_HEADERS`. Fixes Homebrew/homebrew#16919. --- Formula/sshfs.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/sshfs.rb b/Formula/sshfs.rb index 5871f2f31a..f6d5a7eea0 100644 --- a/Formula/sshfs.rb +++ b/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}"