Commit Graph

4 Commits

Author SHA1 Message Date
Pietro Monteiro
896073b66d libga68: Hide internal functions
Test if the target supports the visibility attribute and apply it to
internal functions.

libga68/ChangeLog:

	* acinclude.m4: New file. Add visibility attribute test.
	* configure.ac: Use the new test.
	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* config.h.in: Likewise.
	* configure: Likewise.
	* ga68.h (GA68_HIDDEN): New macro.
	(_libga68_abort): Add visibility hidden attribute.
	(_libga68_init_heap): Likewise.
	(_libga68_malloc_internal): Likewise.
	(_libga68_realloc): Likewise.
	(_libga68_realloc_unchecked): Likewise.
	(_libga68_free_internal): Likewise.
	(_libga68_u8_uctomb): Likewise.
	(_libga68_u8_mbtouc): Likewise.
	(_libga68_u32_to_u8): Likewise.

Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
2025-12-30 16:42:09 -05:00
Pietro Monteiro
f426587cf9 libga68: Add symbol versions to exports
libga68/ChangeLog:

	* configure.ac: New test to determine if symbol versioning is
	supported.
	* Makefile.am: Use result of above test to add appropriate linker
	flags.
	* Makefile.in: Regenerated.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* ga68.map: New file.
	* libtool-version: New file.

Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
2025-12-29 12:53:20 -05:00
Jose E. Marchesi
4aa120ce5e a68: libga68: build system (generated files)
Signed-off-by: Jose E. Marchesi <jemarch@gnu.org>

ChangeLog

	* libga68/config.h.in: Regenerate.
	* libga68/configure: Likewise.
	* libga68/Makefile.in: Likewise.
	* libga68/aclocal.m4: Likewise.
2025-11-30 01:52:20 +01:00
Jose E. Marchesi
18518d2843 a68: libga68: build system
Signed-off-by: Jose E. Marchesi <jemarch@gnu.org>

ChangeLog

	* libga68/Makefile.am: New file.
	* libga68/configure.ac: Likewise.
	* libga68/Makefile.in: Generate.
	* libga68/aclocal.m4: Likewise.
2025-11-30 01:52:20 +01:00