geoip-1.4.8 always calls a form of autoreconf after configure,
then reruns configure. This causes a build error on Lion when
it crafts a broken Makefile that is missing the rule to make the
target `../libGeoIP/libGeoIP.a`.
* Add deps on autoconf, automake, and libtool if XCode >= 4.3.
* Add a command to run `autoreconf -ivf` before configure, which
works on Lion and SL. Previously, the autoreconf on SL would
fail to work because it tries to use shell `--missing` versions.
Both the universal and native builds compile and pass make check
using all five compilers from XCode-4.3.2 and 4.0.2, on both Lion
and 64bit Snow Leopard.
FixesHomebrew/homebrew#11402.
ClosesHomebrew/homebrew#11405.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.