From 48385cb2fc295eb8af9188cbe140142c1807d5a7 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Tue, 31 May 2016 20:12:55 +0200 Subject: Remove special casing of Windows in generic files Summary: Remove some Windows specific code from the .m4 files and have configure figure it out. Unfortunately touchy can't be removed since there is no mingw build of coreutils. Only msys builds which would give us a dependency on the msys runtime. Reviewers: hvr, austin, thomie, bgamari Reviewed By: thomie, bgamari Subscribers: thomie, erikd, #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D2248 --- utils/touchy/touchy.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils/touchy') diff --git a/utils/touchy/touchy.c b/utils/touchy/touchy.c index 88ababac01..dbcf71277c 100644 --- a/utils/touchy/touchy.c +++ b/utils/touchy/touchy.c @@ -14,6 +14,11 @@ #include /* +touch is used by GHC both during building and during compilation of +Haskell files. Unfortunately this means we need a 'touch' like program +in the GHC bindist. Since touch is not standard on Windows and msys2 +doesn't include a mingw-w64 build of coreutils we need touchy for now. + With Windows 7 in a virtual box VM on OS X, some very odd things happen with dates and time stamps when SSHing into cygwin. e.g. here the "Change" time is in the past: -- cgit v1.2.1