summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/grep
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-10-20 07:50:20 +0000
committerobrien <obrien@FreeBSD.org>2002-10-20 07:50:20 +0000
commit63bd46464d6d4587c20c1ca62fb6a6e3be132db9 (patch)
treee4e2f125f51ea07b8efe96352fc4a190c4493425 /gnu/usr.bin/grep
parent8e471edd4918a64a054f07e0000c6b10e386d22d (diff)
downloadFreeBSD-src-63bd46464d6d4587c20c1ca62fb6a6e3be132db9.zip
FreeBSD-src-63bd46464d6d4587c20c1ca62fb6a6e3be132db9.tar.gz
We HAVE_STPCPY now.
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 5f6ecdd..9c4224c 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 70fdeb6..2bae7dc 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
OpenPOWER on IntegriCloud