Commit a7d49aa2 authored by Tiago Peixoto's avatar Tiago Peixoto

configure.ac: Change --enable-cgal-valgrind to --enable-valgrind

parent 16cbc3bc
Pipeline #496 failed with stage
in 387 minutes and 13 seconds
...@@ -183,11 +183,12 @@ AC_CHECK_LIB(gmp, __gmpz_init, , ...@@ -183,11 +183,12 @@ AC_CHECK_LIB(gmp, __gmpz_init, ,
dnl CGAL dnl CGAL
AX_LIB_CGAL_CORE([], AC_MSG_ERROR([CGAL library not found.])) AX_LIB_CGAL_CORE([], AC_MSG_ERROR([CGAL library not found.]))
[CGAL_FLAGS="-frounding-math"] [CGAL_FLAGS="-frounding-math"]
AC_MSG_CHECKING(whether to enable cgal debbuging with valgrind) AC_MSG_CHECKING(whether to enable debbuging with valgrind)
AC_ARG_ENABLE([cgal-valgrind], [AS_HELP_STRING([--enable-cgal-valgrind],[enable CGAL valgrind debugging [default=disabled] ])], AC_ARG_ENABLE([valgrind], [AS_HELP_STRING([--enable-valgrind],[enable valgrind debugging [default=disabled] ])],
if test $enableval = yes; then if test $enableval = yes; then
[AC_MSG_RESULT(yes)] [AC_MSG_RESULT(yes)]
[CGAL_FLAGS="${CGAL_FLAGS} -DCGAL_DISABLE_ROUNDING_MATH_CHECK=ON"] [CGAL_FLAGS="${CGAL_FLAGS} -DCGAL_DISABLE_ROUNDING_MATH_CHECK=ON"]
[CPPFLAGS="${CPPFLAGS} -DBOOST_USE_VALGRIND"]
else else
[AC_MSG_RESULT(no)] [AC_MSG_RESULT(no)]
fi, fi,
......
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