diff options
author | Ian Lynagh <igloo@earth.li> | 2012-02-10 01:23:10 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-02-10 01:23:10 +0000 |
commit | 76e72c38d3c6522c3db4215e56704dd5bf3f595e (patch) | |
tree | ecea4581778375cabc56005265e9227104d22eff /aclocal.m4 | |
parent | 6e87d4b138b8c20f4ad6f842758b21f8509d4f60 (diff) | |
download | haskell-76e72c38d3c6522c3db4215e56704dd5bf3f595e.tar.gz |
Fix the build on Windows
WhatGccIsCalled was no longer being defined on Windows.
Spotted by Niklas Larsson.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 7fde6327c3..9447a47813 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -2016,6 +2016,9 @@ AC_DEFUN([FIND_GCC],[ # than the LLVM backend). We prefer the legacy gcc, but in # Xcode 4.2 'gcc-4.2' was removed. FP_ARG_WITH_PATH_GNU_PROG([$1], [gcc-4.2], [gcc-4.2]) + elif test "$windows" = YES + then + $1="$CC" else FP_ARG_WITH_PATH_GNU_PROG([$1], [$2], [$3]) fi |