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:
parent
7c84a65eb1
commit
6649004d74
1 changed files with 3 additions and 0 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue