https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127690
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <[email protected]>: https://gcc.gnu.org/g:8f38977ffd79d05bcf36ed9cddd291fed77acc8b commit r17-7148-g8f38977ffd79d05bcf36ed9cddd291fed77acc8b Author: Jonathan Wakely <[email protected]> Date: Fri Oct 30 00:30:53 2026 +0000 libstdc++: Add --disable-libstdcxx-pbds flag [PR127690] This allows distros to stop installing these headers if they want to remove them immediately. libstdc++-v3/ChangeLog: PR libstdc++/127690 * acinclude.m4 (GLIBCXX_ENABLE_PBDS): New macro. * configure: Regenerate. * configure.ac: Use GLIBCXX_ENABLE_PBDS. * include/Makefile.am (stamp-pb, install-headers): Do nothing when GLIBCXX_PBDS is false. * include/Makefile.in: Regenerate. * include/precompiled/extc++.h: Use __has_include to conditionally include pb_ds headers. * testsuite/lib/libstdc++.exp (v3-build_support): Set new v3-pbds variable. * testsuite/libstdc++-dg/conformance.exp: Use v3-pbds to filter out ext/pb_ds tests when the headers aren't present. Reviewed-by: Tomasz KamiÅski <[email protected]>
