From 182f10e70b087b7f2b427fa17e3ce84bdaf8c59a Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 20 Oct 2003 13:17:24 +0000 Subject: [PATCH] [project @ 2003-10-20 13:16:58 by simonmar] Comment use of $(HavePosixRegex) --- Makefile | 3 ++- cbits/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a557fe1..5992c25 100644 --- a/Makefile +++ b/Makefile @@ -38,8 +38,9 @@ PACKAGE = base SRC_HC_OPTS += -fglasgow-exts -cpp -Iinclude -\#include HsBase.h SRC_HSC2HS_OPTS += -Iinclude -I$(FPTOOLS_TOP)/ghc/includes -# Make sure we can get hold of regex.h +# If there is no system-supplied POSIX regex library, use our own ifneq "$(HavePosixRegex)" "YES" +# Make sure we can get hold of regex.h SRC_HC_OPTS += -Icbits/regex SRC_HSC2HS_OPTS += -Icbits/regex endif diff --git a/cbits/Makefile b/cbits/Makefile index c110e30..dd6a6ae 100644 --- a/cbits/Makefile +++ b/cbits/Makefile @@ -1,10 +1,11 @@ -# $Id: Makefile,v 1.8 2002/07/18 22:01:07 sof Exp $ +# $Id: Makefile,v 1.9 2003/10/20 13:16:58 simonmar Exp $ TOP = ../.. include $(TOP)/mk/boilerplate.mk HC = $(GHC_INPLACE) +# If there is no system-supplied POSIX regex library, use our own ifneq "$(HavePosixRegex)" "YES" ALL_DIRS += regex SRC_CC_OPTS += -Iregex -- 1.7.10.4