MONDAY, NOVEMBER 2, 2026
libgcobol
Update obsolete libtool macro for dlopen, enabling it by default
libgcobol's build now uses modern libtool macros for dlopen, enabling it by default.
The build system for libgcobol 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 libgcobol at runtime.
In Details
This commit updates libgcobol/configure.ac by removing the deprecated AC_LIBTOOL_DLOPEN macro and replacing it with LT_INIT([dlopen]). Unlike the change in libgfortran, this commit explicitly enables dlopen support by default for libgcobol, impacting 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.