From 3eda7bfc1f6a6deffe66bea33c7f5b92ae4d55bd Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 30 Jun 1999 13:13:03 +0000 Subject: [PATCH] Make this package work on Solaris as well as NetBSD - Solaris doesn't have a decent flock(3). --- textproc/glimpse/files/autoconf.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/textproc/glimpse/files/autoconf.h b/textproc/glimpse/files/autoconf.h index 16ab70f681ab..68d374e55d1c 100644 --- a/textproc/glimpse/files/autoconf.h +++ b/textproc/glimpse/files/autoconf.h @@ -1,11 +1,15 @@ -/* $NetBSD: autoconf.h,v 1.1 1998/12/03 12:39:43 frueauf Exp $ */ +/* $NetBSD: autoconf.h,v 1.2 1999/06/30 13:13:03 agc Exp $ */ /* * preprocessor variables used during build of glimpse-4.1 */ #define HAVE_DIRENT_H 1 +#ifdef __NetBSD__ #define HAVE_FLOCK 1 +#else +#undef HAVE_FLOCK +#endif #define HAVE_GETDTABLESIZE 1 #define HAVE_SETLINEBUF 1 #define HAVE_SETRLIMIT 1