gnu-smalltalk: generational GC requires libsigsegv

In 64 bit, --without-libsigsegv implies --disable-generational-gc

The build was failing for me, now at least it builds by disabling
libsigsegv it seems to work (on small programs)

Closes Homebrew/homebrew#17576.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Damien Pollet 2013-02-04 18:34:12 +01:00 committed by Jack Nagel
parent d3e02518b4
commit 332d54d2ca

View file

@ -43,8 +43,10 @@ class GnuSmalltalk < Formula
args << '--without-tcl' << '--without-tk' << '--without-x'
end
# disable generational gc in 32-bit
args << "--disable-generational-gc" unless MacOS.prefer_64_bit?
# disable generational gc in 32-bit and if libsigsegv is absent
if !MacOS.prefer_64_bit? or build.without? "libsigsegv"
args << "--disable-generational-gc"
end
# Compatibility with Automake 1.13+, fixed upstream
inreplace %w{configure.ac sigsegv/configure.ac},