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
50c22261
Commit
50c22261
authored
Dec 27, 2012
by
Tiago Peixoto
Browse files
Include autoconf test for google's sparsehash
parent
f444def1
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
50c22261
...
...
@@ -256,7 +256,6 @@ AC_CHECK_HEADER([CGAL/version.h],
[AC_MSG_ERROR([CGAL headers not found])])
dnl cairo
if test "$USING_CAIRO" = "yes"; then
PKG_CHECK_MODULES(CAIROMM, [cairomm-1.0], AC_DEFINE([HAVE_CAIROMM], [1],
...
...
@@ -274,6 +273,13 @@ if test "$USING_CAIRO" = "yes"; then
[CPPFLAGS="${OLD_CPPFLAGS}"]
fi
dnl sparsehash
dnl set template depth and hidden visibility
[CPPFLAGS="${CPPFLAGS} -I/usr/include/sparsehash -I/usr/include/google"]
AC_CHECK_HEADER([dense_hash_set],
[],
[AC_MSG_ERROR([sparsehash headers not found])])
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
...
...
src/graph/community/graph_blockmodel.cc
View file @
50c22261
...
...
@@ -34,6 +34,7 @@
#include
"random.hh"
#include
"config.h"
#include
"graph_blockmodel.hh"
using
namespace
boost
;
...
...
src/graph/community/graph_blockmodel.hh
View file @
50c22261
...
...
@@ -32,8 +32,8 @@ using __gnu_cxx::power;
# include <boost/tr1/tuple.hpp>
# endif
#include
<
sparsehash/
dense_hash_set>
#include
<
sparsehash/
dense_hash_map>
#include
<dense_hash_set>
#include
<dense_hash_map>
namespace
graph_tool
{
...
...
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