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