]> 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)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 8 May 2025 07:42:42 +0000 (09:42 +0200)
commitfdd2374b87bd9d7f4c201c81875d77acaebb38cd
tree66845c24ddb83eaf6abcdc3e8e1db141121a88db
parent1df8fffba30bf4022dda762bf61acf16ac704c67
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.
libgcobol/configure
libgcobol/configure.ac