Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2005 13:45:23 -0700
From:      Ade Lovett <ade@freebsd.org>
To:        Mikhail Teterin <mi+mx@aldan.algebra.com>
Cc:        gnome@freebsd.org, "Mikhail T." <mi@aldan.algebra.com>
Subject:   Re: improving devel/m4
Message-ID:  <6CA62C9C-7BC6-4B51-8C65-DB5381B68491@freebsd.org>
In-Reply-To: <200509131508.02955.mi%2Bmx@aldan.algebra.com>
References:  <200509130558.j8D5w1Ha088160@blue.virtual-estates.net> <DF4DF40C-6C6C-498E-B350-F794265FA460@FreeBSD.org> <200509131508.02955.mi%2Bmx@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sep 13, 2005, at 12:08 , Mikhail Teterin wrote:
> My change is not patching any of the gm4 sources -- just makes them
> use our standard -lgnuregex building its own.

Whilst you're not patching the sources, the fact that it's changing  
how things are being built does raise up potential issues for the  
consumers of m4, particularly within the ports tree itself.

> I think, you are being overly cautious.

[ade@foo:~] 6% grep m4-1.4.3 /usr/ports/INDEX.local |wc -l
      726

With 726 direct consumers of m4 within the ports tree, caution is  
always a good thing.

> While we are at it, is there a reason, the changeword is not  
> enabled by
> default?

 From the supplied info document:

An experimental feature, which would improve `m4' usefulness, allows
for changing the syntax for what is a "word" in `m4'.  You should use:
      ./configure --enable-changeword
if you want this feature compiled in.  The current implementation
slows down `m4' considerably and is hardly acceptable.  So, it might go
away, do not count on it yet.

Given that the software authors believe it to be unacceptably  
detrimental to performance, I'll tend to believe them, and leave it  
as-is.  Feel free to OPTIONS-ify it, defaulting to off.

OPTIONS= CHANGEWORD "EXPERIMENTAL: PERFORMANCE-IMPACT: Enable  
changeword" off

or something similar.

-aDe




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6CA62C9C-7BC6-4B51-8C65-DB5381B68491>