summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 69416b099e..96c110f03c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,7 +235,7 @@ fi
exeext=''
soext='.so'
-case $HostPlatform in
+case $host in
*-unknown-cygwin32)
AC_MSG_WARN([GHC does not support the Cygwin target at the moment])
AC_MSG_WARN([I'm assuming you wanted to build for i386-unknown-mingw32])