aboutsummaryrefslogtreecommitdiff
path: root/libcpp/config.in
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2013-02-28 10:58:47 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2013-02-28 10:58:47 +0100
commit1a80db971def22067b3ccbb27b995cd5b86488c0 (patch)
tree02e8deb1f6a0854b3d5c12df42f42b182142adcf /libcpp/config.in
parentff24afc8d09134862051b36afe786fd4818a9da4 (diff)
downloadgcc-1a80db971def22067b3ccbb27b995cd5b86488c0.zip
gcc-1a80db971def22067b3ccbb27b995cd5b86488c0.tar.gz
gcc-1a80db971def22067b3ccbb27b995cd5b86488c0.tar.bz2
configure.ac: Don't define ENABLE_CHECKING whenever --enable-checking is seen...
* 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. From-SVN: r196333
Diffstat (limited to 'libcpp/config.in')
-rw-r--r--libcpp/config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcpp/config.in b/libcpp/config.in
index fca690c..1b0b255 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