diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2025-05-06 09:42:40 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2025-05-06 14:37:48 +0100 |
commit | 67e79da5a3c0deb93cd6df1557affb6994440357 (patch) | |
tree | 229ec2efef1072670a207ca3f8f57b3c2c8f2610 /libstdc++-v3/include/std/numeric | |
parent | f4fa41cd5ccbcc1a45e68c15bda2461e8d7215b9 (diff) | |
download | gcc-67e79da5a3c0deb93cd6df1557affb6994440357.zip gcc-67e79da5a3c0deb93cd6df1557affb6994440357.tar.gz gcc-67e79da5a3c0deb93cd6df1557affb6994440357.tar.bz2 |
libgcobol: Fix bootstrap for targets without program_invocation_short_name
program_invocation_short_name is not widely available, however getprogname()
appears to be a suitable replacement.
Amend the library configuration to look for both. Use program_invocation_short_name
in preference to getprogname() when it is available. If neither is found fall
back to a constant string.
libgcobol/ChangeLog:
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Check for program_invocation_short_name and
and getprogname().
* libgcobol.cc (default_exception_handler): When the platform
has program_invocation_short_name, use it otherwise fall
back to using getprogname() or a constant string (if neither
interface is available).
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'libstdc++-v3/include/std/numeric')
0 files changed, 0 insertions, 0 deletions