Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e74ad5304a4300b35e04cd433921193b244e6e23

>---------------------------------------------------------------

commit e74ad5304a4300b35e04cd433921193b244e6e23
Author: Simon Marlow <[email protected]>
Date:   Mon Dec 19 13:58:47 2011 +0000

    fix $(HAVE_PROFILING) on Windows

>---------------------------------------------------------------

 mk/test.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mk/test.mk b/mk/test.mk
index c8db53d..789ca9d 100644
--- a/mk/test.mk
+++ b/mk/test.mk
@@ -51,7 +51,7 @@ RUNTEST_OPTS += -e ghc_with_native_codegen=0
 endif
 
 HASKELL98_LIBDIR := $(shell "$(GHC_PKG)" field haskell98 library-dirs | sed 
's/^[^:]*: *//')
-HAVE_PROFILING := $(shell if [ -f $(HASKELL98_LIBDIR)/libHShaskell98-*_p.a ]; 
then echo YES; else echo NO; fi)
+HAVE_PROFILING := $(shell if [ -f $(subst 
\,/,$(HASKELL98_LIBDIR))/libHShaskell98-*_p.a ]; then echo YES; else echo NO; 
fi)
 
 ifeq "$(HAVE_PROFILING)" "YES"
 RUNTEST_OPTS += -e ghc_with_profiling=1



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to