COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r744 r793  
    8484AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"])
    8585
     86dnl Support for running test cases using valgrind.
     87use_valgrind=no
     88AC_ARG_ENABLE([valgrind],
     89AS_HELP_STRING([--enable-valgrind], [use valgrind when running tests]),
     90              [use_valgrind=yes])
     91
     92if [[ "$use_valgrind" = "yes" ]]; then
     93  AC_CHECK_PROG(HAVE_VALGRIND, valgrind, yes, no)
     94
     95  if [[ "$HAVE_VALGRIND" = "no" ]]; then
     96    AC_MSG_ERROR([Valgrind not found in PATH.])
     97  fi
     98fi
     99AM_CONDITIONAL(USE_VALGRIND, [test "$use_valgrind" = "yes"])
     100
    86101dnl Checks for header files.
    87102AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
     
    129144echo
    130145echo Build additional tools........ : $enable_tools
     146echo Use valgrind for tests........ : $use_valgrind
    131147echo
    132148echo The packace will be installed in
Note: See TracChangeset for help on using the changeset viewer.