From 874578b8f8a2c9a1e2d1cdb75a4f17ea7c80a63b Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 3 Jul 2008 19:10:31 +0000 Subject: [PATCH] If we know where alex, haddock and happy are then tell Cabal; fixes trac #2373 --- libraries/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libraries/Makefile b/libraries/Makefile index bc5b5b9..20161c9 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -150,6 +150,18 @@ ifneq "$(HSCOLOUR)" "" 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)) -- 1.7.10.4