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.
FixesHomebrew/homebrew#13586ClosesHomebrew/homebrew#13891.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
http://code.google.com/p/serf/ is a C-based HTTP client library
It multiplexes connections, running the read/write communication
asynchronously. Memory copies and transformations are kept to a
minimum to provide high performance operation.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>