Install gnuregex.h as wrapper for gnu/regex.h (with warning)

This commit is contained in:
Andrey A. Chernov 2004-02-18 22:09:34 +00:00
parent 5476ba5545
commit 9fecffa391
2 changed files with 6 additions and 1 deletions

View file

@ -6,8 +6,10 @@ LIB= gnuregex
SHLIB_MAJOR= 2
SRCS= regex.c
INCSGROUPS= INCS WRINCS
INCS= regex.h
INCSDIR= ${INCLUDEDIR}/gnu
INCSDIR= ${INCLUDEDIR}/gnu
WRINCS= gnuregex.h
NOMAN= noman
CFLAGS+=-I${.CURDIR} -DHAVE_STRING_H=1 -DSTDC_HEADERS=1 -DNO_POSIX_COMPAT=1

View file

@ -0,0 +1,3 @@
/* $FreeBSD$ */
#warning "<gnuregex.h> has been replaced by <gnu/regex.h>"
#include <gnu/regex.h>