[project @ 2003-10-20 13:16:58 by simonmar]
authorsimonmar <unknown>
Mon, 20 Oct 2003 13:17:24 +0000 (13:17 +0000)
committersimonmar <unknown>
Mon, 20 Oct 2003 13:17:24 +0000 (13:17 +0000)
Comment use of $(HavePosixRegex)

Makefile
cbits/Makefile

index a557fe1..5992c25 100644 (file)
--- 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
index c110e30..dd6a6ae 100644 (file)
@@ -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