summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/grep
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-10-20 07:50:20 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-10-20 07:50:20 +0000
commit597e16e0129ec8b3f43db4523fa8247aa7286c6f (patch)
treee4e2f125f51ea07b8efe96352fc4a190c4493425 /gnu/usr.bin/grep
parent6f36eba2da406167ca4984cca84c72453d034530 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/grep')
-rw-r--r--gnu/usr.bin/grep/Makefile3
-rw-r--r--gnu/usr.bin/grep/config.h4
2 files changed, 3 insertions, 4 deletions
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