summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-11-13 03:59:48 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-11-27 19:47:09 +0000
commitf67060c6dcc2ba14949ab5e8a4ffe46bceadc14f (patch)
tree84b5821d2fa4ca215c6e1b0b03024059fd3ee7b7 /distrib
parent88481c942a24e8ffa1705fc51b0bc900ca311ea7 (diff)
downloadhaskell-f67060c6dcc2ba14949ab5e8a4ffe46bceadc14f.tar.gz
Make ambient MinGW support a proper settings
Get rid of `USE_INPLACE_MINGW_TOOLCHAIN` and use a settings file entry instead. The CPP setting was originally introduced in f065b6b012.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/configure.ac.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in
index 533be9dfac..6f9237cb32 100644
--- a/distrib/configure.ac.in
+++ b/distrib/configure.ac.in
@@ -82,6 +82,13 @@ FIND_PYTHON
XCODE_VERSION()
+AC_ARG_ENABLE(distro-toolchain,
+[AS_HELP_STRING([--enable-distro-toolchain],
+ [Do not use bundled Windows toolchain binaries.])],
+ [FP_CAPITALIZE_YES_NO(["$enableval"], [EnableDistroToolchain])],
+ [EnableDistroToolchain=@SettingsUseDistroMINGW@]
+)
+
dnl ** Which gcc to use?
dnl --------------------------------------------------------------
AC_PROG_CC([gcc clang])