Subject: FreeBSD and "checking the maximum length of command line arguments..."
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/16/2004 11:05:40
I still get a very long wait for "checking the maximum length of command
line arguments..." when building libtool-base-1.5.2nb5 under FreeBSD.

defs.FreeBSD.mk has:

+# 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}

Should that CONFIGURE_ENV be used in other situations, like building
libtool-base?

   Jeremy C. Reed
   http://www.reedmedia.net/