This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: toplevel configure hits sed program length limit on HP-UX
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Jeff Law <law at redhat dot com>
- Cc: gcc at gcc dot gnu dot org, bonzini at gnu dot org
- Date: Mon, 31 Aug 2009 22:26:12 +0200
- Subject: Re: toplevel configure hits sed program length limit on HP-UX
- References: <20090831185418.GC31114@gmx.de> <4A9C2BF9.9070502@redhat.com>
Hello Jeff,
* Jeff Law wrote on Mon, Aug 31, 2009 at 10:00:57PM CEST:
> On 08/31/09 12:54, Ralf Wildenhues wrote:
> >I found out that current toplevel config.status hits the program length
> >limit of HP-UX 11.11 sed:
> >This is due to the large number of commands added to $extrasub in
> >configure.ac (around 80 in this case); the limit is (autoconf.info):
> It's been the case for eons that various configury bits have blown
> out the hpux-sed.
Configury bits of GCC and src projects, or of Autoconf or other
Autoconf-using projects?
> I vaguely recall hacks in Cygnus's trees to split
> big sed scripts into smaller pieces -- but with my hpux machines
> gathering layers of dust, I haven't kept a copy of the script.
Autoconf used to use sed for the bulk of the substitutions (it uses awk
now, which allows for better complexity), and it used to split its sed
scripts into chunks fit for HP-UX sed.
Cheers,
Ralf