Subject: Re: FreeBSD and "checking the maximum length of command line
To: Jeremy C. Reed <>
From: Juan RP <>
List: tech-pkg
Date: 04/16/2004 20:12:04
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Fri, 16 Apr 2004 11:05:40 -0700 (PDT)
"Jeremy C. Reed" <> wrote:

> 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.
> 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?

Errm, ignore my previous mail... I was too fast ! :) I think we should set it
when using libtool or not.

Because there are some packages that doesn't require libtool, so the value is
not  cached.

	Juan RP <>

Content-Type: application/pgp-signature

Version: GnuPG v1.2.4 (NetBSD)