Fix configure
authorIan Lynagh <igloo@earth.li>
Sat, 23 May 2009 00:42:31 +0000 (00:42 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 23 May 2009 00:42:31 +0000 (00:42 +0000)
configure.ac

index 69416b0..96c110f 100644 (file)
@@ -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])