X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fproject.mk.in;h=3ceef15f30d5344f4af564a7f18bd50d9852ae88;hb=8a23f2d9b91e8bf180a8578b2c929961b3c1825b;hp=e5f64d01cf442bddb27d1c28505851eaf691feca;hpb=34cc75e1a62638f2833815746ebce0a9114dc26b;p=ghc-hetmet.git diff --git a/mk/project.mk.in b/mk/project.mk.in index e5f64d0..3ceef15 100644 --- a/mk/project.mk.in +++ b/mk/project.mk.in @@ -82,15 +82,9 @@ HOSTPLATFORM = @HostPlatform@ TARGETPLATFORM = @TargetPlatform@ BUILDPLATFORM = @BuildPlatform@ -# Hack alert: -# in one or two places, we need to get at the OS version (major and -# perhaps even minor), HostOS_Full is the OS name reported by -# AC_CANONICAL_SYSTEM. -# HostPlatform_CPP = @HostPlatform_CPP@ HostArch_CPP = @HostArch_CPP@ HostOS_CPP = @HostOS_CPP@ -HostOS_Full = @HostOS_Full@ HostVendor_CPP = @HostVendor_CPP@ TargetPlatform_CPP = @TargetPlatform_CPP@ @@ -141,3 +135,7 @@ else Windows=NO endif +# Tell the build system what the host operating system is +# This distinguishes "msys" and "cygwin", which are not +# not distinguished by HOST_OS_CPP +OSTYPE=@OSTYPE@