bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: maint.mk and config.h


From: Jim Meyering
Subject: Re: maint.mk and config.h
Date: Mon, 27 Apr 2009 22:37:23 +0200

Eric Blake wrote:
> According to Jim Meyering on 4/26/2009 11:41 PM:
>> Eric Blake wrote:
>>> Right now, maint.mk is hard-coded to check for <config.h> as the first
>>> include of each .c file.  But what about m4's situation, where every file
>>> includes a common header ("m4.h", analogous to coreutils' "system.h") from
>>> the project first, and that header in turn includes <config.h> first?
>>> Would it be worth trying to parameterize the preferred name of the first
>>> file to include as part of cfg.mk?
>>
>> Yes.
>> This is a common situation.
>
> Done as follows, after testing that m4 could add config_h_header="m4\.h"
> in its cfg.mk.

Looks fine.  Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]