projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
20da43f
)
If we know where alex, haddock and happy are then tell Cabal; fixes trac #2373
author
Ian Lynagh
<igloo@earth.li>
Thu, 3 Jul 2008 19:10:31 +0000
(19:10 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 3 Jul 2008 19:10:31 +0000
(19:10 +0000)
libraries/Makefile
patch
|
blob
|
history
diff --git
a/libraries/Makefile
b/libraries/Makefile
index
bc5b5b9
..
20161c9
100644
(file)
--- a/
libraries/Makefile
+++ b/
libraries/Makefile
@@
-150,6
+150,18
@@
ifneq "$(HSCOLOUR)" ""
CONFIGURE_OPTS += --with-hscolour=$(HSCOLOUR)
endif
CONFIGURE_OPTS += --with-hscolour=$(HSCOLOUR)
endif
+ifneq "$(ALEX)" ""
+CONFIGURE_OPTS += --with-alex=$(ALEX)
+endif
+
+ifneq "$(HADDOCK)" ""
+CONFIGURE_OPTS += --with-haddock=$(HADDOCK)
+endif
+
+ifneq "$(HAPPY)" ""
+CONFIGURE_OPTS += --with-happy=$(HAPPY)
+endif
+
DEPLOYMENT_OPTS = $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS)) \
$(addprefix -optl, $(MACOSX_DEPLOYMENT_LD_OPTS))
DEPLOYMENT_OPTS = $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS)) \
$(addprefix -optl, $(MACOSX_DEPLOYMENT_LD_OPTS))