Remove double-conversion as a source dep in OS X script
[folly.git] / folly / bootstrap-osx-homebrew.sh
index 56e76bf534a321d18025ef64d45ff0afbd5bb3a3..688ce4ddfb9239cf96ef1fd54b9cbc5588e5325c 100755 (executable)
@@ -10,27 +10,13 @@ brewget() {
 }
 
 # tool dependencies: autotools and scons (for double-conversion)
-brewget autoconf automake libtool scons
+brewget autoconf automake libtool
 
 # dependencies
-brewget glog gflags boost libevent
-
-# Install the double-conversion library.
-# NB their install target installs the libs but not the headers, hence the
-# CPPFLAGS
-test -d double-conversion ||
-    git clone https://github.com/google/double-conversion.git
-pushd double-conversion
-make
-# fool libtool into using static linkage
-# (this won't work if you've already installed libdouble-conversion into a
-# default search path)
-rm -f libdouble-conversion*dylib
-DOUBLE_CONVERSION_HOME=$(pwd)
-popd
+brewget glog gflags boost libevent double-conversion
 
 autoreconf -i
-./configure CPPFLAGS=-I"$DOUBLE_CONVERSION_HOME" LDFLAGS=-L"$DOUBLE_CONVERSION_HOME"
+./configure
 
 pushd test
 test -e gtest-1.7.0.zip || {