projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18397cc
)
fix isPortableBuild test
author
Ross Paterson
<ross@soi.city.ac.uk>
Fri, 6 Apr 2007 11:13:04 +0000
(11:13 +0000)
committer
Ross Paterson
<ross@soi.city.ac.uk>
Fri, 6 Apr 2007 11:13:04 +0000
(11:13 +0000)
Setup.hs
patch
|
blob
|
history
diff --git
a/Setup.hs
b/Setup.hs
index
13502f4
..
f7a4a0c
100644
(file)
--- a/
Setup.hs
+++ b/
Setup.hs
@@
-83,8
+83,7
@@
isPortableBuild :: String -> Bool
isPortableBuild s
| "GHC" `isPrefixOf` s = False
| "Data.Generics" `isPrefixOf` s = False
- | otherwise = s `elem` ["Foreign.Concurrent",
- "System.Process"]
+ | otherwise = s `notElem` ["Foreign.Concurrent", "System.Process"]
forGHCBuild :: String -> Bool
forGHCBuild = ("GHC.Prim" /=)