Changeset 1348
- Timestamp:
- 2005-07-11 01:32:25 (3 years ago)
- Files:
-
- liboggz/trunk/configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
liboggz/trunk/configure.ac
r1334 r1348 56 56 57 57 # Check for valgrind 58 VALGRIND_ENVIRONMENT="" 58 59 ac_enable_valgrind=no 59 60 AC_ARG_ENABLE(valgrind-testing, … … 63 64 if test "x${ac_enable_valgrind}" = xyes ; then 64 65 if test "x${enable_shared}" = xyes ; then 65 AC_MSG_WARN([ 66 *** You have requested to test under valgrind, but have not disabled the 67 *** building of shared libraries. You usually need to do: 68 *** ./configure --disable-shared --enable-valgrind-testing 69 *** for Valgrind to produce useful output.]) 66 VALGRIND_ENVIRONMENT="libtool --mode=execute " 70 67 fi 71 68 72 69 AC_CHECK_PROG(HAVE_VALGRIND, valgrind, yes, no) 73 70 if test "x$HAVE_VALGRIND" = xyes ; then 74 VALGRIND_ENVIRONMENT=" valgrind -q --leak-check=yes --show-reachable=yes --num-callers=100"71 VALGRIND_ENVIRONMENT="$VALGRIND_ENVIRONMENT valgrind -q --leak-check=yes --show-reachable=yes --num-callers=100" 75 72 AC_SUBST(VALGRIND_ENVIRONMENT) 76 73 TESTS_INFO="Test suite will be run under: