Changes in configure.ac [793:7c0ad6bd6a63:744:f8c468367dab] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r793 r744 84 84 AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"]) 85 85 86 dnl Support for running test cases using valgrind.87 use_valgrind=no88 AC_ARG_ENABLE([valgrind],89 AS_HELP_STRING([--enable-valgrind], [use valgrind when running tests]),90 [use_valgrind=yes])91 92 if [[ "$use_valgrind" = "yes" ]]; then93 AC_CHECK_PROG(HAVE_VALGRIND, valgrind, yes, no)94 95 if [[ "$HAVE_VALGRIND" = "no" ]]; then96 AC_MSG_ERROR([Valgrind not found in PATH.])97 fi98 fi99 AM_CONDITIONAL(USE_VALGRIND, [test "$use_valgrind" = "yes"])100 101 86 dnl Checks for header files. 102 87 AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) … … 144 129 echo 145 130 echo Build additional tools........ : $enable_tools 146 echo Use valgrind for tests........ : $use_valgrind147 131 echo 148 132 echo The packace will be installed in
Note: See TracChangeset
for help on using the changeset viewer.