[Top][All Lists]
[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 07:41:51 +0200 |
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.