]> git.ipfire.org Git - thirdparty/gcc.git/commit
libcpp: configure: drop unused Valgrind detection
authorAlexander Monakov <amonakov@ispras.ru>
Thu, 23 Nov 2023 10:55:43 +0000 (13:55 +0300)
committerAlexander Monakov <amonakov@ispras.ru>
Fri, 24 Nov 2023 13:13:56 +0000 (16:13 +0300)
commitab78426ae76cd4a31c384f17dd058b4ad8b39642
tree9d402504538eff6d626d4a9aac2ee594eda1930d
parent3eb9cae6d375d222787498b15ac87f383b3834fe
libcpp: configure: drop unused Valgrind detection

When top-level configure has either --enable-checking=valgrind or
--enable-valgrind-annotations, we want to activate a couple of workarounds
in libcpp. They do not use anything from the Valgrind API, so just
delete all detection.

libcpp/ChangeLog:

* config.in: Regenerate.
* configure: Regenerate.
* configure.ac (ENABLE_VALGRIND_CHECKING): Delete.
(ENABLE_VALGRIND_ANNOTATIONS): Rename to
ENABLE_VALGRIND_WORKAROUNDS.  Delete Valgrind header checks.
* lex.cc (new_buff): Adjust for renaming.
(_cpp_free_buff): Ditto.
libcpp/config.in
libcpp/configure
libcpp/configure.ac
libcpp/lex.cc