]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgcobol: Heed --enable-libgcobol
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 8 May 2025 07:42:42 +0000 (09:42 +0200)
committerRobert Dubner <rdubner@symas.com>
Tue, 29 Jul 2025 16:06:38 +0000 (12:06 -0400)
commit7fdeb675872349d016a344b5f801e90344267dac
treea629223dbcb57d45f55675ce5f8617b6fc83da26
parent1066f31c3d2f28a85f8c89446166120a45eba8dc
libgcobol: Heed --enable-libgcobol

If some target isn't listed as supported in configure.tgt,
--enable-libgcobol cannot override that.  However, that's what should
happen just like an explicit --enable-languages=cobol forces the
frontend to be built.

This patch, shamelessly adapted from libphobos, does just that.

Tested on amd64-pc-solaris2.11, sparcv9-sun-solaris2.11, and
x86_64-pc-linux-gnu.

2025-04-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

libgcobol:
* configure.ac: Handle --enable-libgcobol.
Let it override LIBGCOBOL_SUPPORTED.
* configure: Regenerate.

(cherry picked from commit fdd2374b87bd9d7f4c201c81875d77acaebb38cd)
libgcobol/configure
libgcobol/configure.ac