diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-28 09:58:47 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-28 09:58:47 +0000 |
commit | 61ed1f10c1953a1f235ec02d8795eb6ac2b9f71c (patch) | |
tree | 02e8deb1f6a0854b3d5c12df42f42b182142adcf /libcpp/config.in | |
parent | 3e88585b58d32cadbea3d6f9b6eb00cde3ef59fa (diff) | |
download | gcc-61ed1f10c1953a1f235ec02d8795eb6ac2b9f71c.tar.gz |
* configure.ac: Don't define ENABLE_CHECKING whenever
--enable-checking is seen, instead use similar --enable-checking=yes
vs. --enable-checking=release default as gcc/ subdir has and
define ENABLE_CHECKING if ENABLE_CHECKING is defined in gcc/.
Define ENABLE_VALGRIND_CHECKING if requested.
* lex.c (new_buff): If ENABLE_VALGRIND_CHECKING, put _cpp_buff
struct first in the allocated buffer and result->base after it.
(_cpp_free_buff): If ENABLE_VALGRIND_CHECKING, free buff itself
instead of buff->base.
* config.in: Regenerated.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196333 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/config.in')
-rw-r--r-- | libcpp/config.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcpp/config.in b/libcpp/config.in index fca690cd306..1b0b25555cf 100644 --- a/libcpp/config.in +++ b/libcpp/config.in @@ -21,6 +21,10 @@ language is requested. */ #undef ENABLE_NLS +/* Define if you want to workaround valgrind (a memory checker) warnings about + possible memory leaks because of libcpp use of interior pointers. */ +#undef ENABLE_VALGRIND_CHECKING + /* Define to 1 if you have `alloca', as a function or macro. */ #undef HAVE_ALLOCA |