From 57fe24e18cacf048a8466a1467ebd1f3e64f20ac Mon Sep 17 00:00:00 2001 From: jschauma Date: Wed, 21 Apr 2004 16:30:19 +0000 Subject: under Irix, use sysconf to get ARG_MAX. Default on current IRIX systems is 20480. --- mk/defs.IRIX.mk | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'mk') 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 -- cgit v1.2.3