From 00abfccc5d726b64c69bfb5e3607e2b18d14d14e Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Wed, 12 Dec 2012 02:17:55 +0100 Subject: [PATCH] Remove Snappy support --- src/leveldb/build_detect_platform | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/leveldb/build_detect_platform b/src/leveldb/build_detect_platform index 7cdb793a1..5307c9a4f 100755 --- a/src/leveldb/build_detect_platform +++ b/src/leveldb/build_detect_platform @@ -166,17 +166,6 @@ EOF COMMON_FLAGS="$COMMON_FLAGS -DLEVELDB_PLATFORM_POSIX" fi - # Test whether Snappy library is installed - # http://code.google.com/p/snappy/ - $CXX $CXXFLAGS -x c++ - -o /dev/null 2>/dev/null < - int main() {} -EOF - if [ "$?" = 0 ]; then - COMMON_FLAGS="$COMMON_FLAGS -DSNAPPY" - PLATFORM_LIBS="$PLATFORM_LIBS -lsnappy" - fi - # Test whether tcmalloc is available $CXX $CXXFLAGS -x c++ - -o /dev/null -ltcmalloc 2>/dev/null <