projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-01-26 16:03:40 by simonmar]
[ghc-hetmet.git]
/
ghc
/
utils
/
genprimopcode
/
Makefile
diff --git
a/ghc/utils/genprimopcode/Makefile
b/ghc/utils/genprimopcode/Makefile
index
2b1ecd9
..
0cc38b0
100644
(file)
--- a/
ghc/utils/genprimopcode/Makefile
+++ b/
ghc/utils/genprimopcode/Makefile
@@
-3,12
+3,10
@@
include $(TOP)/mk/boilerplate.mk
HS_PROG = genprimopcode
HS_PROG = genprimopcode
-ghc_lt_504 = $(shell if (test $(GhcCanonVersion) -lt 504); then echo YES; else echo NO; fi)
-ifeq "$(ghc_lt_504)" "YES"
+ifeq "$(ghc_ge_504)" "NO"
SRC_HC_OPTS += -package text
endif
SRC_HC_OPTS += -package text
endif
-ghc_ge_601 = $(shell if (test $(GhcCanonVersion) -ge 601); then echo YES; else echo NO; fi)
ifeq "$(ghc_ge_601)" "YES"
SRC_HC_OPTS += -package parsec
endif
ifeq "$(ghc_ge_601)" "YES"
SRC_HC_OPTS += -package parsec
endif