Comment use of $(HavePosixRegex)
SRC_HC_OPTS += -fglasgow-exts -cpp -Iinclude -\#include HsBase.h
SRC_HSC2HS_OPTS += -Iinclude -I$(FPTOOLS_TOP)/ghc/includes
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"
ifneq "$(HavePosixRegex)" "YES"
+# Make sure we can get hold of regex.h
SRC_HC_OPTS += -Icbits/regex
SRC_HSC2HS_OPTS += -Icbits/regex
endif
SRC_HC_OPTS += -Icbits/regex
SRC_HSC2HS_OPTS += -Icbits/regex
endif
-# $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)
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
ifneq "$(HavePosixRegex)" "YES"
ALL_DIRS += regex
SRC_CC_OPTS += -Iregex