Update build infrastructure for new GNU regex bits.

This commit is contained in:
Tim J. Robbins 2005-05-10 11:37:37 +00:00
parent 9aa52d9745
commit bc87600367
2 changed files with 13 additions and 1 deletions

View File

@ -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

12
gnu/lib/libregex/config.h Normal file
View File

@ -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