diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-12-12 02:17:55 +0100 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-01-23 10:41:44 -0500 |
commit | 00abfccc5d726b64c69bfb5e3607e2b18d14d14e (patch) | |
tree | 8c15681e097ac5f9d255b91175b4e0cec25c5dd0 /src/leveldb/build_detect_platform | |
parent | 4786302fb99f930afca1e778255b72c6999ca480 (diff) |
Remove Snappy support
Diffstat (limited to 'src/leveldb/build_detect_platform')
-rwxr-xr-x | src/leveldb/build_detect_platform | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/leveldb/build_detect_platform b/src/leveldb/build_detect_platform index 7cdb793a19..5307c9a4fc 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 <<EOF - #include <snappy.h> - 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 <<EOF int main() {} |