summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1994-12-22 00:04:34 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1994-12-22 00:04:34 +0000
commitc8f0a8d3f98c539c65f62a20488ce19c127f6c71 (patch)
tree2fda667f5a329b3635654b4de95074ec7049784e /zwgc
parent31a2bf6de394e2653429ad292174498fdff51cd8 (diff)
Define POSIX_REGEXP to get regular expressions to work under NetBSD.
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/Imakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/zwgc/Imakefile b/zwgc/Imakefile
index e9bb77a..b1f4981 100644
--- a/zwgc/Imakefile
+++ b/zwgc/Imakefile
@@ -19,7 +19,7 @@ LIBS2 = -lgen
#endif
#ifdef __NetBSD__
-OSLIBS=-lcompat
+OSDEFS=-DPOSIX_REGEXP
#endif
LIBS = $(ZLIB) $(LIB_X) $(TERMCAP) $(LIBS2) $(OSLIBS)
@@ -56,7 +56,7 @@ GENERATED= $(GENSRCS) \
XDEFS = -I./Memory -I./String -I./Dictionary -DREVSTACK \
-DDEFDESC=\"$(ZLIBDIR)/zwgc.desc\" \
-DAPPDEFDATABASE=\"$(ZLIBDIR)/zwgc_resources\" \
- -DZWGCPATH=\"$(ATHBINDIR)/zwgc\"
+ -DZWGCPATH=\"$(ATHBINDIR)/zwgc\" $(OSDEFS)
SUBDIRS = Memory String Dictionary