summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/grep
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1998-11-14 23:37:32 +0000
committerwosch <wosch@FreeBSD.org>1998-11-14 23:37:32 +0000
commitd465d696016a9b8ad875e8258322e5f5f1668198 (patch)
tree2c7928b1b1b54da83c304d8860c88191a5a6bcba /gnu/usr.bin/grep
parentc1601848731885f137ce3e0becc96d865c151d8e (diff)
downloadFreeBSD-src-d465d696016a9b8ad875e8258322e5f5f1668198.zip
FreeBSD-src-d465d696016a9b8ad875e8258322e5f5f1668198.tar.gz
Use mmap for reading files. This is faster than read().
Diffstat (limited to 'gnu/usr.bin/grep')
-rw-r--r--gnu/usr.bin/grep/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile
index a758287..3657b36 100644
--- a/gnu/usr.bin/grep/Makefile
+++ b/gnu/usr.bin/grep/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.12 1998/03/07 16:13:57 wosch Exp $
+# $Id: Makefile,v 1.13 1998/10/02 07:14:32 obrien Exp $
GREP_LIBZ= YES
GREP_FTS= YES
@@ -7,7 +7,7 @@ PROG= grep
SRCS= dfa.c grep.c getopt.c kwset.c obstack.c search.c
CFLAGS+=-DGREP -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 \
-DHAVE_GETPAGESIZE=1 -DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 \
- -DHAVE_VALLOC=1
+ -DHAVE_VALLOC=1 -DHAVE_WORKING_MMAP=1
LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \
${BINDIR}/grep ${BINDIR}/fgrep
OpenPOWER on IntegriCloud