summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2005-05-10 11:37:37 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2005-05-10 11:37:37 +0000
commitbc876003670fb8c8cbbe5d330f4eb29011e8feba (patch)
tree651b6534b928dfa2458529b251ced2c6e4edd89e
parent9aa52d97459e4becf9f13eb8bd0d314711d27d28 (diff)
Notes
-rw-r--r--gnu/lib/libregex/Makefile2
-rw-r--r--gnu/lib/libregex/config.h12
2 files changed, 13 insertions, 1 deletions
diff --git a/gnu/lib/libregex/Makefile b/gnu/lib/libregex/Makefile
index 6525bffa0b501..56b6afdc53f89 100644
--- a/gnu/lib/libregex/Makefile
+++ b/gnu/lib/libregex/Makefile
@@ -14,7 +14,7 @@ WRINCS= gnuregex.h
PXINCS= posix/regex.h
PXINCSDIR= ${INCSDIR}/posix
-CFLAGS+=-D_REGEX_RE_COMP -DSTDC_HEADERS
+CFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR}
CLEANFILES= regex.h.patched gnuregex.c
regex.h.patched: regex.h
diff --git a/gnu/lib/libregex/config.h b/gnu/lib/libregex/config.h
new file mode 100644
index 0000000000000..bf7f0a03b8679
--- /dev/null
+++ b/gnu/lib/libregex/config.h
@@ -0,0 +1,12 @@
+/* $FreeBSD$ */
+
+#define _REGEX_RE_COMP 1
+#define HAVE_LANGINFO_H 1
+#define HAVE_LANGINFO_CODESET 1
+#define HAVE_LOCALE_H 1
+#define HAVE_WCHAR_H 1
+#define HAVE_WCTYPE_H 1
+#define HAVE_ISBLANK 1
+#define HAVE_WCRTOMB 1
+#define HAVE_MBRTOWC 1
+#define HAVE_WCSCOLL 1