sshfs: Restore compatibility with automake

Replace depreciated `AM_CONFIG_HEADER` macro, removed in automake 1.13, with
`AC_CONFIG_HEADERS`.

Fixes Homebrew/homebrew#16919.
This commit is contained in:
Charlie Sharpsteen 2013-01-05 22:00:04 -08:00
parent 7c84a65eb1
commit 6649004d74

View file

@ -13,6 +13,9 @@ class Sshfs < Formula
depends_on 'glib' depends_on 'glib'
def install def install
# Compatibility with Automake 1.13 and newer.
inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
system "autoreconf", "--force", "--install" system "autoreconf", "--force", "--install"
system "./configure", "--disable-debug", "--disable-dependency-tracking", system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}" "--prefix=#{prefix}"