aboutsummaryrefslogtreecommitdiff
path: root/libctf/aclocal.m4
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2020-06-05 18:38:03 +0100
committerNick Alcock <nick.alcock@oracle.com>2020-07-22 18:02:19 +0100
commita9b9870206658564272fe17d2079ed9eb6ffb15f (patch)
tree8c0d078b5ad067def1b1283624ae5200e41cf507 /libctf/aclocal.m4
parent1f2e8b5b87df91a0b8ff76fab75538dfcc2478f5 (diff)
downloadgdb-a9b9870206658564272fe17d2079ed9eb6ffb15f.zip
gdb-a9b9870206658564272fe17d2079ed9eb6ffb15f.tar.gz
gdb-a9b9870206658564272fe17d2079ed9eb6ffb15f.tar.bz2
libctf, dedup: add new configure option --enable-libctf-hash-debugging
Add a new debugging configure option, --enable-libctf-hash-debugging, off by default, which lets you configure in expensive internal consistency checks and enable the printing of debugging output when LIBCTF_DEBUG=t before type deduplication has happened. In this commit we just add the option and cause it to turn ctf_assert into a real, hard assert for easier debugging. libctf/ * configure.ac: Add --enable-libctf-hash-debugging. * aclocal.m4: Pull in enable.m4, for GCC_ENABLE. * Makefile.in: Regenerated. * configure: Likewise. * config.h.in: Likewise. * ctf-impl.h [ENABLE_LIBCTF_HASH_DEBUGGING] (ctf_assert): Define to assert.
Diffstat (limited to 'libctf/aclocal.m4')
-rw-r--r--libctf/aclocal.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/libctf/aclocal.m4 b/libctf/aclocal.m4
index 8ae4b53..df51584 100644
--- a/libctf/aclocal.m4
+++ b/libctf/aclocal.m4
@@ -1230,6 +1230,7 @@ AC_SUBST([am__untar])
m4_include([../bfd/acinclude.m4])
m4_include([../config/acx.m4])
m4_include([../config/depstand.m4])
+m4_include([../config/enable.m4])
m4_include([../config/gettext-sister.m4])
m4_include([../config/lead-dot.m4])
m4_include([../config/override.m4])