diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-04-21 16:30:19 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-04-21 16:30:19 +0000 |
commit | 509e660bfab1be31dd6163f73e95daceb69652b8 (patch) | |
tree | 67fd889fc58b932470fcc6f3232567af766926cd /mk/defs.IRIX.mk | |
parent | fc0442216b78c80c47fe114601759eec72b7d3e4 (diff) | |
download | pkgsrc-509e660bfab1be31dd6163f73e95daceb69652b8.tar.gz |
under Irix, use sysconf to get ARG_MAX. Default on current IRIX
systems is 20480.
Diffstat (limited to 'mk/defs.IRIX.mk')
-rw-r--r-- | mk/defs.IRIX.mk | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mk/defs.IRIX.mk b/mk/defs.IRIX.mk index 992558b0dec..73a268096de 100644 --- a/mk/defs.IRIX.mk +++ b/mk/defs.IRIX.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.IRIX.mk,v 1.47 2004/04/19 20:19:46 jmmv Exp $ +# $NetBSD: defs.IRIX.mk,v 1.48 2004/04/21 16:30:19 jschauma Exp $ # # Variable definitions for the IRIX operating system. @@ -168,8 +168,7 @@ MAKE_ENV+= ABI=${ABI} # 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. -# FIXME: Adjust to work on this system and enable the lines below. -#.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 +.if defined(GNU_CONFIGURE) && defined(USE_LIBTOOL) +_OPSYS_MAX_CMDLEN!= /usr/sbin/sysconf ARG_MAX +CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${_OPSYS_MAX_CMDLEN} +.endif |