Commit 2c920ab5 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix autoconf check for sparsehash

This fixes issue #423
parent 20eb89e8
Pipeline #389 passed with stage
in 202 minutes and 15 seconds
......@@ -272,8 +272,11 @@ if test "$USING_SPARSEHASH" = "yes"; then
[Sparsehash include prefix])
AC_DEFINE_UNQUOTED([SPARSEHASH_INCLUDE(f)], [<${SPARSEHASH_PREFIX}/f>],
[Sparsehash include macro])
[CPPFLAGS_TEMP="${CPPFLAGS}"]
[CPPFLAGS="${SPARSEHASH_CFLAGS} ${CPPFLAGS}"]
AC_CHECK_HEADER([${SPARSEHASH_PREFIX}/dense_hash_set], [],
[AC_MSG_ERROR([sparsehash headers not found])])
[CPPFLAGS="${CPPFLAGS_TEMP}"]
fi
dnl Checks for typedefs, structures, and compiler characteristics.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment