]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
make configure detect valgrind.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 30 Jan 2012 23:37:23 +0000 (00:37 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 30 Jan 2012 23:37:29 +0000 (00:37 +0100)
This is by creating the suppressions.valgrind file.

configure.ac

index 42a84d498ff4e66acbdeb77805d9f84933cae0e4..2fbb77ae13cc27337c4a76200d75c4d3e272d693 100644 (file)
@@ -45,6 +45,7 @@ AC_SUBST(MINOR_VERSION, `echo $PACKAGE_VERSION | sed 's/.*\.\(.*\)\..*/\1/g'`)
 AC_SUBST(PATCH_VERSION, `echo $PACKAGE_VERSION | sed 's/.*\..*\.\(.*\)/\1/g'`)
 AC_SUBST(NUMBER_VERSION, `printf "0x%02x%02x%02x" $MAJOR_VERSION $MINOR_VERSION $PATCH_VERSION`)
 
+touch suppressions.valgrind
 dnl C and C++ capabilities
 AC_C_INLINE
 AC_HEADER_STDC
@@ -404,7 +405,7 @@ libidn=no
 fi
 
 AM_CONDITIONAL(ENABLE_CRYWRAP, test "x$libidn" != "xno")
-
+rm -f suppressions.valgrind
 dnl end of crywrap requirements
 
 AC_CONFIG_FILES([guile/pre-inst-guile], [chmod +x guile/pre-inst-guile])