aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-03-11 09:56:18 +0000
committerIain Sandoe <iain@sandoe.co.uk>2025-03-11 10:14:57 +0000
commit6a3f9f30d93c376a8a5e98be888da14923b85e63 (patch)
treeb7e7fb3c04902f59afd510dc79427207297234e0
parent8e8546d1260fca932b0bfaaa7e200ecaeae46c48 (diff)
downloadgcc-6a3f9f30d93c376a8a5e98be888da14923b85e63.zip
gcc-6a3f9f30d93c376a8a5e98be888da14923b85e63.tar.gz
gcc-6a3f9f30d93c376a8a5e98be888da14923b85e63.tar.bz2
configure, Darwin: Require explicit selection of COBOL.
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>
-rwxr-xr-xconfigure7
-rw-r--r--configure.ac3
2 files changed, 8 insertions, 2 deletions
diff --git a/configure b/configure
index 2a91458..4666c86 100755
--- 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-*-*)
diff --git a/configure.ac b/configure.ac
index 4145785..a1b3604 100644
--- a/configure.ac
+++ b/configure.ac
@@ -805,6 +805,9 @@ case ,${enable_languages}, in
;;
*)
case "${target}" in
+ *-*-darwin*)
+ unsupported_languages="$unsupported_languages cobol"
+ ;;
x86_64-*-*|aarch64-*-*)
;;
*-*-*)