Skip to content

Commit

Permalink
Remove Snappy support
Browse files Browse the repository at this point in the history
  • Loading branch information
sipa committed Aug 17, 2013
1 parent 5bd76dc commit 058a035
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions build_detect_platform
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,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 $CXXOUTPUT 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 $CXXOUTPUT -ltcmalloc 2>/dev/null <<EOF
int main() {}
Expand Down

0 comments on commit 058a035

Please sign in to comment.