From 597e16e0129ec8b3f43db4523fa8247aa7286c6f Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 20 Oct 2002 07:50:20 +0000 Subject: We HAVE_STPCPY now. --- gnu/usr.bin/grep/Makefile | 3 +-- gnu/usr.bin/grep/config.h | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu/usr.bin/grep') diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile index 5f6ecdd443f9..9c4224cc473c 100644 --- a/gnu/usr.bin/grep/Makefile +++ b/gnu/usr.bin/grep/Makefile @@ -3,8 +3,7 @@ GREP_LIBZ=YES PROG= grep -SRCS= dfa.c getopt.c getopt1.c grep.c kwset.c obstack.c savedir.c search.c \ - stpcpy.c +SRCS= dfa.c getopt.c getopt1.c grep.c kwset.c obstack.c savedir.c search.c CFLAGS+=-I${.CURDIR} -DHAVE_CONFIG_H diff --git a/gnu/usr.bin/grep/config.h b/gnu/usr.bin/grep/config.h index 70fdeb68bb5c..2bae7dce4e10 100644 --- a/gnu/usr.bin/grep/config.h +++ b/gnu/usr.bin/grep/config.h @@ -64,7 +64,7 @@ /* Hack for Visual C++ suggested by irox. */ /* #undef alloca */ -/* #undef HAVE_STPCPY */ +#define HAVE_STPCPY 1 /* #undef ENABLE_NLS */ @@ -125,7 +125,7 @@ #define HAVE_SETMODE 1 /* Define if you have the stpcpy function. */ -/* #undef HAVE_STPCPY */ +#define HAVE_STPCPY 1 /* Define if you have the strcasecmp function. */ #define HAVE_STRCASECMP 1 -- cgit v1.3