summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-04-21 16:30:19 +0000
committerjschauma <jschauma@pkgsrc.org>2004-04-21 16:30:19 +0000
commitbefabb12f1b5b9ba5b2e8b0e3d17cf30996a0df8 (patch)
tree67fd889fc58b932470fcc6f3232567af766926cd
parent1197bd217d4597963ec8edfff01ed49a3a64eb4e (diff)
downloadpkgsrc-befabb12f1b5b9ba5b2e8b0e3d17cf30996a0df8.tar.gz
under Irix, use sysconf to get ARG_MAX. Default on current IRIX
systems is 20480.
-rw-r--r--mk/defs.IRIX.mk11
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