MONDAY, NOVEMBER 2, 2026
libgm2
Update obsolete libtool macro for dlopen, enabling it by default
libgm2's build now uses modern libtool macros for dlopen, enabling it by default.
The build system for libgm2 has been updated to replace the deprecated AC_LIBTOOL_DLOPEN macro with the modern approach of passing dlopen directly to LT_INIT. This change ensures compatibility with newer versions of libtool and, crucially, enables dlopen support by default for the library. This allows for dynamic loading of libgm2 at runtime.
In Details
This commit updates libgm2/configure.ac by removing the deprecated AC_LIBTOOL_DLOPEN macro and replacing it with LT_INIT([dlopen]). Similar to the change in libgcobol, this commit enables dlopen support by default for libgm2, affecting its runtime dynamic loading capabilities.
For Context
- libtool
- A script that facilitates the creation of portable shared libraries across various operating systems. It abstracts away platform-specific library naming and linking conventions.
- autoconf
- A tool that automatically configures source code packages to adapt to different operating systems and system configurations. It generates shell scripts that check for system features and set up build parameters.
- configure.ac
- The primary input file for autoconf. It contains macros and directives that describe how to configure the package for a specific system.
- LT_INIT
- A libtool macro used within
configure.acto initialize libtool's build environment and options. - dlopen
- A system call that allows a program to load a shared library dynamically at runtime. This is useful for modularity and for loading plugins.