Changeset 531
- Timestamp:
- 2004-08-30 05:25:29 (4 years ago)
- Files:
-
- liboggz/trunk/configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
liboggz/trunk/configure.ac
r463 r531 51 51 52 52 # Check for valgrind 53 ac_enable_valgrind= yes53 ac_enable_valgrind=no 54 54 AC_ARG_ENABLE(valgrind-testing, 55 [ -- disable-valgrind-testing disable running of tests inside Valgrind ],56 [ ac_enable_valgrind= no ], [ ac_enable_valgrind=yes] )55 [ --enable-valgrind-testing enable running of tests inside Valgrind ], 56 [ ac_enable_valgrind=yes ], [ ac_enable_valgrind=no] ) 57 57 58 58 if test "x${ac_enable_valgrind}" = xyes ; then 59 if test "x${enable_shared}" = xyes ; then 60 AC_MSG_WARN([ 61 *** You have requested to test under valgrind, but have not disabled the 62 *** building of shared libraries. You usually need to do: 63 *** ./configure --disable-shared --enable-valgrind-testing 64 *** for Valgrind to produce useful output.]) 65 fi 66 59 67 AC_CHECK_PROG(HAVE_VALGRIND, valgrind, yes, no) 60 68 if test "x$HAVE_VALGRIND" = xyes ; then … … 67 75 fi 68 76 else 69 TESTS_INFO="'make check' to run test suite (Valgrind testing disabled)"77 TESTS_INFO="'make check' to run test suite (Valgrind testing not enabled)" 70 78 fi 71 79