]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgcobol: C++-ify the configuration steps.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 22 Mar 2025 16:58:47 +0000 (16:58 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 5 Apr 2025 13:22:53 +0000 (14:22 +0100)
commitb90364ee1c09f00fda374260c723800fb52dc7ed
treed4d25a704062d42afbc0527def44783d0b18a349
parent6753df43a0251cffbfe2fca85e978807f976fb01
libgcobol: C++-ify the configuration steps.

Currently, the library is configured as if it was written in C, however
all the sources are C++, so update to use C++ as the configure language
(and check the CXX instead of CC).

Reorder the configuration steps so that we setup the tools and environment
before carrying out tests.

Remove unused configuration machinery.

Also we configured extra ld flags but never used them. There is no need
to make these extra_ldflags darwin-specific, additions could be required
by other hosts.

libgcobol/ChangeLog:

* 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.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libgcobol/Makefile.am
libgcobol/Makefile.in
libgcobol/aclocal.m4
libgcobol/config.h.in
libgcobol/configure
libgcobol/configure.ac