summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2005-05-10 11:37:37 +0000
committertjr <tjr@FreeBSD.org>2005-05-10 11:37:37 +0000
commitc9931f2fee92f91f140c5048a0f524d269d0f04e (patch)
tree651b6534b928dfa2458529b251ced2c6e4edd89e
parent49c97fda38bfb3c427fd4a869decf4a84c2afd7d (diff)
downloadFreeBSD-src-c9931f2fee92f91f140c5048a0f524d269d0f04e.zip
FreeBSD-src-c9931f2fee92f91f140c5048a0f524d269d0f04e.tar.gz
Update build infrastructure for new GNU regex bits.
-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 6525bff..56b6afd 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 0000000..bf7f0a0
--- /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
OpenPOWER on IntegriCloud