Fix warnings in mkDerivedConstants
[ghc-hetmet.git] / configure.ac
index 218b641..96c110f 100644 (file)
@@ -160,9 +160,7 @@ if test "$WithGhc" != ""; then
   AC_SUBST(GhcPatchLevel)dnl
   GhcMinVersion2=`echo "$GhcMinVersion" | sed 's/^\\(.\\)$/0\\1/'`
   GhcCanonVersion="$GhcMajVersion$GhcMinVersion2"
-  if test $GhcCanonVersion -ge 607; then ghc_ge_607=YES; else ghc_ge_607=NO; fi
   if test $GhcCanonVersion -ge 609; then ghc_ge_609=YES; else ghc_ge_609=NO; fi
-  AC_SUBST(ghc_ge_607)dnl
   AC_SUBST(ghc_ge_609)dnl
 fi
 
@@ -237,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])