[csw-maintainers] gar and autoconf

Darin Perusich Darin.Perusich at cognigencorp.com
Mon May 10 18:09:46 CEST 2010


Thanks Ben, this is exactly what I was looking for.

On 05/10/2010 11:17 AM, Ben Walton wrote:
> On 10-05-10 10:58 AM, Darin Perusich wrote:
>> Hello,
>>
>> Before running configure I need to make a quick edit to configure.ac and
>> run autoconf, how do I call autoconf from gar? The edit is a simple
>> removal of a header, gsed -i -e 's%sys/acl.h%%' configure.ac. How would
>> I execute this?
> 
> Use something like:
> 
> pre-configure-modulated:
>     @( cd $(WORKSRC); gsed -i -e 's%sys/acl.h%%' configure.ac; \
>         autoreconf ...)
>     @$(MAKECOOKIE)
> 
> That will run for each modulation (likely only one in your case, but
> safe against multiple) and do the required edit.  As the name suggests,
> this is pretty much immediately prior the configure call.  You could
> also create a patch that gets applied instead.
> 


-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
Phone: 716-633-3463
Email: darinper at cognigencorp.com


More information about the maintainers mailing list