]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure, Darwin: Require explicit selection of COBOL.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 11 Mar 2025 09:56:18 +0000 (09:56 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Tue, 11 Mar 2025 10:14:57 +0000 (10:14 +0000)
By defult, Darwin does not have sufficient tools to build COBOL
so we do not want to include it in --enable-languages=all since
this will break regular testing of all supported languages.

However, we do want to be able to build it on demand (where the
build system has sufficiently new tools) and so do not want to
disable it permanently.

ChangeLog:

* configure: Regenerate.
* configure.ac: Do not build COBOL on Darwin by default,
even for --enable-languages=all.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
configure
configure.ac

index 2a91458effc0b6a034d877baf7269cc38c05a776..4666c86c5f09cac4576214cc592933ec33c9c070 100755 (executable)
--- a/configure
+++ b/configure
@@ -3585,11 +3585,14 @@ case ,${enable_languages}, in
     ;;
   *)
     case "${target}" in
+      *-*-darwin*)
+        unsupported_languages="$unsupported_languages cobol"
+        ;;
       x86_64-*-*|aarch64-*-*)
         ;;
       *-*-*)
-       unsupported_languages="$unsupported_languages cobol"
-       ;;
+    unsupported_languages="$unsupported_languages cobol"
+    ;;
     esac
     case "${host}" in
       x86_64-*-*|aarch64-*-*)
index 414578566fafb396c6b51a9d9252243afd287888..a1b3604dd8122579e5caeb9f70d6ce3d6f77b22c 100644 (file)
@@ -805,6 +805,9 @@ case ,${enable_languages}, in
     ;;
   *)
     case "${target}" in
+      *-*-darwin*)
+        unsupported_languages="$unsupported_languages cobol"
+        ;;
       x86_64-*-*|aarch64-*-*)
         ;;
       *-*-*)