If GC_DEBUG is defined then all-upper-case macros will expand to calls
to the debug variant of collector functions.
So add the configury bit to define GC_DEBUG if the user wants and
switch all `GC_` calls to the corresponding macros.
libga68/ChangeLog:
* configure: Regenerate.
* configure.ac: Add --enable-algol68-gc-debug option and
define GC_DEBUG accordingly.
* ga68-alloc.c (_libga68_realloc): Use the C macro version of
the GC function.
(_libga68_realloc_unchecked): Likewise.
(_libga68_malloc): Likewise.
Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
Make sure all declarations added by autoconf are seen by system
headers.
libga68/ChangeLog:
* ga68-alloc.c: Include ga68.h before all includes.
* ga68-error.c: Likewise.
* ga68-standenv.c: Likewise.
* ga68-unistr.c: Likewise.
Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>