Commit 8148224c authored by Tiago Peixoto's avatar Tiago Peixoto

CGAL must be linked with gmp as well

parent 846dcdab
...@@ -191,7 +191,7 @@ fi ...@@ -191,7 +191,7 @@ fi
dnl CGAL dnl CGAL
AC_CHECK_LIB(CGAL,main) AC_CHECK_LIB(CGAL,main)
[CGAL_LIBADD="-lCGAL"] [CGAL_LIBADD="-lCGAL -lgmp"]
AC_SUBST(CGAL_LIBADD) AC_SUBST(CGAL_LIBADD)
[CGAL_FLAGS="-frounding-math"] [CGAL_FLAGS="-frounding-math"]
AC_SUBST(CGAL_FLAGS) AC_SUBST(CGAL_FLAGS)
...@@ -231,6 +231,12 @@ AC_CHECK_HEADER([CGAL/version.h], ...@@ -231,6 +231,12 @@ AC_CHECK_HEADER([CGAL/version.h],
[], [],
[AC_MSG_ERROR([CGAL headers not found])]) [AC_MSG_ERROR([CGAL headers not found])])
dnl cairo
PKG_CHECK_MODULES([CAIROMM], [cairomm-1.0])
AC_SUBST([CAIROMM_CFLAGS])
AC_SUBST([CAIROMM_LIBS])
AC_PYTHON_MODULE(cairo, fatal)
dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions. dnl Checks for library functions.
...@@ -337,6 +343,7 @@ src/graph/topology/Makefile ...@@ -337,6 +343,7 @@ src/graph/topology/Makefile
src/graph/flow/Makefile src/graph/flow/Makefile
src/graph/layout/Makefile src/graph/layout/Makefile
src/graph/search/Makefile src/graph/search/Makefile
src/graph/draw/Makefile
src/graph_tool/Makefile src/graph_tool/Makefile
]) ])
AC_OUTPUT AC_OUTPUT
......
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