From fc2bd1773ebe1d2790bd8bd37439b5b39323e6d8 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Sat, 5 Jan 2013 21:57:57 -0800 Subject: 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 #16904. --- Library/Formula/fuse4x.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/fuse4x.rb b/Library/Formula/fuse4x.rb index 905fae7eb..45f0fbe9c 100644 --- a/Library/Formula/fuse4x.rb +++ b/Library/Formula/fuse4x.rb @@ -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" -- cgit v1.2.3