Browse Source

Remove Snappy support

miguelfreitas
Pieter Wuille 12 years ago committed by Gavin Andresen
parent
commit
00abfccc5d
  1. 11
      src/leveldb/build_detect_platform

11
src/leveldb/build_detect_platform

@ -166,17 +166,6 @@ EOF @@ -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() {}

Loading…
Cancel
Save