diff options
author | agc <agc> | 1999-06-30 13:13:03 +0000 |
---|---|---|
committer | agc <agc> | 1999-06-30 13:13:03 +0000 |
commit | 88311e2580421d3872a89545d016c4b70cf26d42 (patch) | |
tree | 0ee2e63d308ae706e569aa0c2a7d14224563d007 | |
parent | 57ff59450e5e13b5664dc84ee505d7ac365988e2 (diff) | |
download | pkgsrc-88311e2580421d3872a89545d016c4b70cf26d42.tar.gz |
Make this package work on Solaris as well as NetBSD - Solaris doesn't have
a decent flock(3).
-rw-r--r-- | textproc/glimpse/files/autoconf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/glimpse/files/autoconf.h b/textproc/glimpse/files/autoconf.h index 16ab70f681a..68d374e55d1 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 |