fuse4x: Restore compatibility with automake
Remove depreciated `AM_CONFIG_HEADER` macro, removed in 1.13, and replace with `AC_CONFIG_HEADERS`. Also, fixup `makeconf.sh` to use `glibtoolize` and use `makeconf.sh` instead of calling `autoreconf` to generate `configure`. Fixes Homebrew/homebrew#16904.master
parent
e797b7ff42
commit
7c84a65eb1
|
@ -16,7 +16,9 @@ class Fuse4x < Formula
|
|||
# Build universal if the hardware can handle it---otherwise 32 bit only
|
||||
MacOS.prefer_64_bit? ? ENV.universal_binary : ENV.m32
|
||||
|
||||
system "autoreconf", "--force", "--install"
|
||||
inreplace 'configure.in', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
|
||||
inreplace 'makeconf.sh', 'libtoolize', 'glibtoolize'
|
||||
system './makeconf.sh'
|
||||
|
||||
# force 64bit inodes on 10.5. On 10.6+ this is no-op.
|
||||
ENV.append_to_cflags "-D_DARWIN_USE_64_BIT_INODE"
|
||||
|
|
Loading…
Reference in New Issue