mxcl/homebrew — pull request #13891 by 2bits (2012-08-02 16:13:33+00:00)
Title: serf: fix CPP invalid path build error on ML

serf-1.1.1 queries `apr-1-config --cpp` which return a non-existent
path on Mountain Lion. This causes a build error where `configure`
can't find a working `CPP`. Add an ENV var to use `#{ENV.cc} -E`

serf then tries to use `/usr/share/apr-1/build-1/libtool` which
also has that non-existent path buried inside it. Add an ENV var
to specify using HB `glibtool`.

Tested on ML using clang and llvm from XCode-4.4 using the native
and universal options.

Fixes #13586