From f960bc485747a32d63f32590f368f01a2ab927df Mon Sep 17 00:00:00 2001 From: enge Date: Tue, 30 Aug 2011 16:49:20 +0000 Subject: tests/Makefile.am: force creating of executables instead of shell scripts configure.ac: allow valgrind tests for dynamic library git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1047 211d60ee-9f03-0410-a15a-8952a2c7a4e4 --- configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 41b3974..5560da3 100644 --- a/configure.ac +++ b/configure.ac @@ -85,12 +85,9 @@ AC_ARG_ENABLE([logging], ) AC_ARG_ENABLE([valgrind-tests], [AC_HELP_STRING([--enable-valgrind-tests], - [run checks through valgrind for static library (default = no)])], + [run checks through valgrind (default = no)])], [case $enableval in - yes) AS_IF([test "x$enable_shared" != "xno"], - [AC_MSG_ERROR([Valgrind checks do not work with shared libraries; use --enable-valgrind-tests only with --disable-shared])], - [gl_VALGRIND_TESTS] - ) ;; + yes) gl_VALGRIND_TESTS ;; no) ;; *) AC_MSG_ERROR([Bad value for --enable-valgrind-tests: Use yes or no]) ;; esac -- cgit v1.2.1