Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
2c920ab5
Commit
2c920ab5
authored
Oct 25, 2017
by
Tiago Peixoto
Browse files
Fix autoconf check for sparsehash
This fixes issue
#423
parent
20eb89e8
Pipeline
#389
passed with stage
in 202 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
2c920ab5
...
@@ -272,8 +272,11 @@ if test "$USING_SPARSEHASH" = "yes"; then
...
@@ -272,8 +272,11 @@ if test "$USING_SPARSEHASH" = "yes"; then
[Sparsehash include prefix])
[Sparsehash include prefix])
AC_DEFINE_UNQUOTED([SPARSEHASH_INCLUDE(f)], [<${SPARSEHASH_PREFIX}/f>],
AC_DEFINE_UNQUOTED([SPARSEHASH_INCLUDE(f)], [<${SPARSEHASH_PREFIX}/f>],
[Sparsehash include macro])
[Sparsehash include macro])
[CPPFLAGS_TEMP="${CPPFLAGS}"]
[CPPFLAGS="${SPARSEHASH_CFLAGS} ${CPPFLAGS}"]
AC_CHECK_HEADER([${SPARSEHASH_PREFIX}/dense_hash_set], [],
AC_CHECK_HEADER([${SPARSEHASH_PREFIX}/dense_hash_set], [],
[AC_MSG_ERROR([sparsehash headers not found])])
[AC_MSG_ERROR([sparsehash headers not found])])
[CPPFLAGS="${CPPFLAGS_TEMP}"]
fi
fi
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for typedefs, structures, and compiler characteristics.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment