Add --with-static-standard-libraries to the top level
authorTom Tromey <tom@tromey.com>
Fri, 26 Jul 2019 21:42:25 +0000 (15:42 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 19 Aug 2019 16:17:11 +0000 (10:17 -0600)
commitc1a5d03a89a455d79f025c66dce83342de4d26ce
tree4be2231cd60db205fb4cf6485809d84bedae3e25
parent3eb185c97d8170b3f3a2b5edab4fbbd56f53f6f7
Add --with-static-standard-libraries to the top level

gdb should normally not be linked with -static-libstdc++.  Currently
this has not caused problems, but it's incompatible with catching an
exception thrown from a shared library -- and a subsequent patch
changes gdb to do just this.

This patch adds a new --with-static-standard-libraries flag to the
top-level configure.  It defaults to "auto", which means enabled if
gcc is being built, and disabled otherwise.

ChangeLog
2019-08-19  Tom Tromey  <tom@tromey.com>

* configure: Rebuild.
* configure.ac: Add --with-static-standard-libraries.
ChangeLog
configure
configure.ac