2025-04-05 Iain Sandoe * Makefile.am: Add libgcobol.spec and dependency. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Add libgcobol.spec handling. * libgcobol.spec.in: New file. 2025-04-05 Iain Sandoe * aclocal.m4: Regenerate. * config.h.in: Regenerate. * Makefile.am: Use the configured LIBS and extra_ldflags. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Shift configure to use c++. Order tests for tools and environment before other tests. 2025-04-04 Iain Sandoe * Makefile.am: Use $(LIBM) to add the math lib when it is needed. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Check if the target wants libm. 2025-04-04 Bob Dubner * charmaps.h: Change __gg__data_return_code to 'short' type. * constants.cc: Likewise. 2025-04-03 Iain Sandoe * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Check for availability of strfromf32 and strfromf64. * libgcobol.cc (strfromf32, strfromf64): New. 2025-04-03 Iain Sandoe PR cobol/119295 * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Configure random_r and friends * intrinsic.cc (__gg__random): Use random_r when available. (__gg__random_next): Likewise. 2025-04-03 Iain Sandoe * gfileio.cc: Include config.h. * gmath.cc: Likewise. * io.cc: Likewise. * libgcobol.cc: Likewise. 2025-04-02 Bob Dubner PR cobol/119521 * intrinsic.cc: (__gg__reverse): Trim final result for intermediate_e. * libgcobol.cc: (__gg__adjust_dest_size): Abort on attempt to increase the size of a result. (__gg__module_name): Formatting. __gg__reverse(): Resize only intermediates 2025-03-28 Bob Dubner * charmaps.cc:Eliminate "#include libgcobol.h". Change comment about _Float128. * common-defs.h: Change comment about _Float128. Receive #defines from libgcobol.h. * constants.cc: Eliminate #include libgcobol.h. Eliminate other unneeded #includes. * ec.h: Receive declarations from libgcobol.h. * gcobolio.h: Likewise. * gfileio.cc: (__gg__file_init): Use file_flag_none_e instead of zero in assignment. (__gg__file_reopen): Likewise. (__io__file_open): Likewise. * gfileio.h: Receive declarations from libgcobol.h. * libgcobol.h: Numerous declarations moved elsewhere. 2025-03-26 Jonathan Wakely * charmaps.cc (__gg__raw_to_ascii): Use auto for complicated nested type. (__gg__raw_to_ebcdic): Likewise. (__gg__console_to_ascii): Likewise. (__gg__console_to_ebcdic): Likewise. 2025-03-26 Jonathan Wakely * intrinsic.cc (is_zulu_format): Qualify toupper and cast argument to unsigned char. (fill_cobol_tm): Likewise. (iscasematch): Likewise for to lower. (numval): Qualify calls to tolower. (__gg__lower_case): Use lambda expression for tolower call. (__gg__upper_case): Likewise for toupper call. * libgcobol.cc (mangler_core): Cast tolower argument to unsigned char. * valconv.cc (__gg__string_to_numeric_edited): Cast to upper arguments to unsigned char. 2025-03-26 Jonathan Wakely * common-defs.h (cbl_enabled_exceptions_t::operator=): Define as defaulted. 2025-03-23 Bob Dubner * Makefile.am: Incorporate AM_CXXFLAGS = $(CXXFLAGS_FOR_TARGET). * Makefile.in: Regenerated. 2025-03-20 Iain Sandoe * Makefile.am: Use LIBICONV. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Check for iconv support. 2025-03-17 Bob Dubner * charmaps.cc: Remove unused headers * libgcobol.h: Likewise. * valconv.cc: Likewise. 2025-03-14 Richard Biener * Makefile.am: Define gcc_version. * configure.ac: Execute GCC_BASE_VER. * Makefile.in: Regenerated. * configure: Likewise. 2025-03-12 Jonathan Wakely * charmaps.cc: Fix typo in comment. 2025-03-11 Jakub Jelinek * config.h.in: Regenerate. 2025-03-11 Jakub Jelinek PR cobol/119216 * configure.tgt: On fully unsupported targets set UNSUPPORTED=1. * configure.ac: Add AC_CHECK_SIZEOF([void *]), source in configure.tgt and set BUILD_LIBGCOBOL also based on LIBGCOBOL_SUPPORTED. * Makefile.am (toolexeclib_LTLIBRARIES): Conditionalize on BUILD_LIBGCOBOL. (AM_CFLAGS): Rename to ... (AM_CXXFLAGS): ... this. (%.lo: %.cc): Use $(AM_CXXFLAGS) rather than $(AM_CFLAGS). * configure: Regenerate. * Makefile.in: Regenerate. 2025-03-11 Jakub Jelinek * Makefile.am: Remove tons of VAR = @VAR@ style lines. (libgcobol.la): Remove. (libgcobol_la_LFLAGS): Remove. (all): Remove. (.PHONY): Remove. (install): Remove. (%.lo: %.c): Remove. (doc): Remove. (install-html install-pdf install-info): Remove. * Makefile.in: Regenerate. 2025-03-11 Jakub Jelinek * configure.tgt: Remove x86_64-*-linux*x32 special case. 2025-03-11 Jakub Jelinek * configure.tgt: Only set LIBGCOBOL_SUPPORTED for lp64 multilibs of powerpc64le-*-linux* and x86_64-*-linux*. Handle i?86-*-linux* the same as x86_64-*-linux*. 2025-03-11 James K. Lowden * Makefile.am: New file. * Makefile.in: Autogenerate. * acinclude.m4: Likewise. * aclocal.m4: Likewise. * configure.ac: New file. * configure: Autogenerate. * configure.tgt: New file. * README: New file. * charmaps.cc: New file. * config.h.in: New file. * constants.cc: New file. * gfileio.cc: New file. * gmath.cc: New file. * io.cc: New file. * valconv.cc: New file. * charmaps.h: New file. * common-defs.h: New file. * ec.h: New file. * exceptl.h: New file. * gcobolio.h: New file. * gfileio.h: New file. * gmath.h: New file. * io.h: New file. * libgcobol.h: New file. * valconv.h: New file. * libgcobol.cc: New file. * intrinsic.cc: New file. Copyright (C) 2025 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.