diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-29 22:13:59 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-29 22:13:59 +0000 |
commit | a519c4d3595ef641cf4a7f5e9f3f122c8906375f (patch) | |
tree | 973dcd60e0999971d390a6d534a2bf385183062a /gcc/config.in | |
parent | b932f66cf529d7794e2ebb1260ab46c1f0808db9 (diff) | |
download | gcc-a519c4d3595ef641cf4a7f5e9f3f122c8906375f.tar.gz |
* configure.in <enable-checking for valgrind>: Look for
<valgrind/memcheck.h> first. AC_DEFINE HAVE_VALGRIND_MEMCHECK_H
if it exists.
* configure, config.in: Regenerate.
* ggc-common.c [ENABLE_VALGRIND_CHECKING &&
HAVE_VALGRIND_MEMCHECK_H]: Include <valgrind/memcheck.h>. Use
#elif for other alternatives.
* ggc-page.c: Ditto.
* ggc-zone.c: Don't assume <valgrind/memcheck.h>; instead copy
include structure from ggc-common.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73065 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.in')
-rw-r--r-- | gcc/config.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in index 3a44fed9ee8..3c2f8d36bb9 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -241,6 +241,9 @@ through valgrind (a memory checker). This is extremely expensive. */ #undef ENABLE_VALGRIND_CHECKING +/* Define if valgrind's valgrind/memcheck.h header is installed. */ +#undef HAVE_VALGRIND_MEMCHECK_H + /* Define if valgrind's memcheck.h header is installed. */ #undef HAVE_MEMCHECK_H |