diff options
author | simonpj@microsoft.com <unknown> | 2011-01-13 15:50:23 +0000 |
---|---|---|
committer | simonpj@microsoft.com <unknown> | 2011-01-13 15:50:23 +0000 |
commit | 5775d5142da227d65fb86994d363eb16841ee642 (patch) | |
tree | 3bc6ff769c7f23727b5e6c54cd83c6a7ab30205f /configure.ac | |
parent | 02d2dde49eaa614995a7e168d229e8b5cb88eafe (diff) | |
download | haskell-5775d5142da227d65fb86994d363eb16841ee642.tar.gz |
Add OSTYPE build-system variable, and use it
The use is in install.mk.in, where we need to know when
we're on Cygwin.
This fixes the build on my Windows box, where I have
both Msys and Cygwin.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index afe7a05b16..d116ff18b7 100644 --- a/configure.ac +++ b/configure.ac @@ -89,6 +89,11 @@ AC_ARG_WITH([ghc], fi WithGhc="$GHC"]) + +dnl ** Tell the make system which OS we are using +dnl $OSTYPE is set by the operating system to "msys" or "cygwin" or something +AC_SUBST(OSTYPE) + dnl ** Booting from .hc files? dnl -------------------------------------------------------------- AC_ARG_ENABLE(hc-boot, |