automake
[Top][All Lists]
Advanced

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

Re: 'make' reruns configure ?!


From: Ralf Wildenhues
Subject: Re: 'make' reruns configure ?!
Date: Mon, 5 Sep 2005 17:33:15 +0200
User-agent: Mutt/1.4.1i

Hi Kendrick,

* Kendrick Smith wrote on Mon, Sep 05, 2005 at 03:46:07PM CEST:
> 
> Can anyone tell me why an Automake-generated Makefile
> would rerun the 'configure' script when 'make' is invoked,
> and whether there's a (possibly heavy-handed) way to disable
> this behavior? 

Usually, Automake-generated Makefiles contain rules to update
"config.status", "Makefile" itself, and even "configure".
A partial dependency tree is drawn in the documentation
  info Autoconf "Making configure Scripts"
but additional dependencies may have been specified in configure.ac 
by the variables CONFIG_STATUS_DEPENDENCIES and CONFIGURE_DEPENDENCIES.
(In the end, I've sometimes had to resort to reading the output of
"make" with various debug options added, to find out which file was out
of date and caused a specific rebuild.)

One way to disable these rules is to add 
  AM_MAINTAINER_MODE
to configure.ac and recreate everything.  Then, the configure option
--enable-maintainer-mode is necessary to re-enable these rules.  Read
  info Automake maintainer-mode
for more information about this topic.

Cheers,
Ralf




reply via email to

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