This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Unwanted autoheader call included in Makefile.in
- From: Guido Draheim <guidod-2003- at gmx dot de>
- To: Rafael Laboissiere <laboissiere at psy dot mpg dot de>
- Cc: automake at gnu dot org
- Date: Tue, 28 Jan 2003 10:35:36 +0100
- Subject: Re: Unwanted autoheader call included in Makefile.in
- References: <20030128084517.GF2716@laboiss0>
Rafael Laboissiere schrieb:
When I use the macro AC_CONFIG_HEADERS, automake includes a rule in
Makefile.in to rebuild config.h.in through autoheader. Now, I do not want
at all that this file gets touched by autoheader, even when I modifiy one of
its "presumed dependencies" aclocal.m4 and configure.ac.
I've been plagued with some implicit and unnecessary `rebuild`s in
some projects - and the solution is quite simple: in your configure.ac
script, reset autotools variables to a colon - i.e.
AUTOHEADER=":"
or perhaps better yet, rewrite it as
AUTOHEADER="echo autoheader ignored"
so you still see when it would have been called.
Is that a way to disable this automake behavior, or am I asking for
something that is complete non-sense?
Thanks in advance for your help.
have fun, guido