mxcl/homebrew — pull request #11405 by 2bits (2012-04-03 02:19:53+00:00)
Title: geoip: fix compile error using deps + autoreconf

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.

Fixes #11402