aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlie Sharpsteen2013-01-05 21:57:57 -0800
committerCharlie Sharpsteen2013-01-05 22:05:29 -0800
commitfc2bd1773ebe1d2790bd8bd37439b5b39323e6d8 (patch)
treee688d3cf30a23dddeb9e72194a4e62941ae2b6b6 /Library
parent0e91da540953c099c2085a2aa81048661ca7b3b1 (diff)
downloadhomebrew-fc2bd1773ebe1d2790bd8bd37439b5b39323e6d8.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fuse4x.rb4
1 files changed, 3 insertions, 1 deletions
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"