diff options
Diffstat (limited to 'mk/defs.NetBSD.mk')
-rw-r--r-- | mk/defs.NetBSD.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk index bf9f30432d2..8eebae5e86d 100644 --- a/mk/defs.NetBSD.mk +++ b/mk/defs.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.NetBSD.mk,v 1.62 2004/04/07 14:26:51 tv Exp $ +# $NetBSD: defs.NetBSD.mk,v 1.63 2004/04/09 22:43:31 jmmv Exp $ # # Variable definitions for the NetBSD operating system. @@ -200,3 +200,10 @@ FFLAGS+= -mieee .if exists(/usr/include/sys/event.h) PKG_HAVE_KQUEUE= # defined .endif + +# check for maximum command line length and set it in configure's environment, +# to avoid a test required by the libtool script that takes forever. +.if defined(GNU_CONFIGURE) && defined(USE_LIBTOOL) +_OPSYS_MAX_CMDLEN!= /sbin/sysctl -n kern.argmax +CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${_OPSYS_MAX_CMDLEN} +.endif |