configure: support --enable-glibgxx-debug

Part of #184.

* m4/devel.m4 (adl_ENABLE_GLIBCXX_DEBUG): New macro.
* configure.ac: Use it.
* README: Mention it.
* spot/twa/acc.cc: Fix a small issue found with this
option.
This commit is contained in:
Alexandre Duret-Lutz 2016-07-24 00:05:25 +02:00
parent 1a5de86c1e
commit 9f7bf5ab2d
4 changed files with 21 additions and 1 deletions

8
README
View file

@ -87,6 +87,14 @@ flags specific to Spot:
--disable-assert
--enable-optimizations
--enable-glibgxx-debug
Enable the debugging version libstdc++
https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode_semantics.html
Note that the debugging version og libstdc++ is incompatible with
the regular version. So if Spot is compiled with this option, all
client code should be compiled with -D_GLIBCXX_DEBUG as well. This
options should normally only be useful to run Spot's test-suite.
Here are the meaning of the fine-tuning options, in case
--enable/disable-devel is not enough.