X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=configure.ac;h=f963e8f8d4f8a60959e546b567c847a9a1dfd638;hp=8892ba00738dad894038e6be73afcf46d8c1c7c1;hb=9319fbaf14f420cbbd9e670093cc86c5f04b7800;hpb=dab5f1b5a1df0fdff2c9942ca311616ad472adcd diff --git a/configure.ac b/configure.ac index 8892ba0..f963e8f 100644 --- a/configure.ac +++ b/configure.ac @@ -170,6 +170,15 @@ amd64-*-freebsd*|x86_64-*-freebsd*) HostVendor_CPP='unknown' HostOS_CPP='freebsd' ;; +amd64-*-netbsd*|x86_64-*-netbsd*) + HostPlatform=x86_64-unknown-netbsd + TargetPlatform=x86_64-unknown-netbsd + BuildPlatform=x86_64-unknown-netbsd + HostPlatform_CPP='x86_64_unknown_netbsd' + HostArch_CPP='x86_64' + HostVendor_CPP='unknown' + HostOS_CPP='netbsd' + ;; arm*-linux*) HostPlatform=arm-unknown-linux # hack again TargetPlatform=arm-unknown-linux @@ -656,8 +665,10 @@ if test "$WithGhc" != ""; then GhcCanonVersion="$GhcMajVersion$GhcMinVersion2" if test $GhcCanonVersion -ge 605; then ghc_ge_605=YES; else ghc_ge_605=NO; fi 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_605)dnl AC_SUBST(ghc_ge_607)dnl + AC_SUBST(ghc_ge_609)dnl fi # Check whether this GHC has editline installed