configure: Add check for valgrind/valgrind.h.

This commit is contained in:
John Reiser 2008-07-24 13:31:53 -07:00 committed by Alexandre Julliard
parent e22e480f16
commit 0a2c94e823
4 changed files with 10 additions and 4 deletions

4
configure vendored
View File

@ -7208,6 +7208,7 @@ done
for ac_header in \
@ -7320,7 +7321,8 @@ for ac_header in \
termios.h \
unistd.h \
utime.h \
valgrind/memcheck.h
valgrind/memcheck.h \
valgrind/valgrind.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`

View File

@ -335,7 +335,8 @@ AC_CHECK_HEADERS(\
termios.h \
unistd.h \
utime.h \
valgrind/memcheck.h
valgrind/memcheck.h \
valgrind/valgrind.h
)
AC_HEADER_STAT()

View File

@ -918,6 +918,9 @@
/* Define to 1 if you have the <valgrind/memcheck.h> header file. */
#undef HAVE_VALGRIND_MEMCHECK_H
/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
#undef HAVE_VALGRIND_VALGRIND_H
/* Define if we have va_copy */
#undef HAVE_VA_COPY

View File

@ -52,8 +52,8 @@ struct _pthread_cleanup_buffer;
#ifdef HAVE_RESOLV_H
# include <resolv.h>
#endif
#ifdef HAVE_VALGRIND_MEMCHECK_H
#include <valgrind/memcheck.h>
#ifdef HAVE_VALGRIND_VALGRIND_H
#include <valgrind/valgrind.h>
#endif
#ifdef HAVE_SYS_SYSCALL_H
# include <sys/syscall.h>