autoconf
[Top][All Lists]
Advanced

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

Re: how to handle new subdirectories?


From: Ralf Wildenhues
Subject: Re: how to handle new subdirectories?
Date: Thu, 4 Mar 2010 03:12:06 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

* Steffen Dettmer wrote on Wed, Mar 03, 2010 at 02:19:45PM CET:
> The problem is when a new package (let's say a lib) is added to
> the super-package, the super-package configure has a new subdir
> to configure recursively.
> 
> Maybe I tell the high-level-problem with other words:
> 
> After cvs update, when a new sub-package was added and
> AC_CONFIG_SUBDIRS was extended, make fails. So each user must
> pre-conf (autoreconf or so) the srcdir and re-configure each
> builddir (uncomfortable and takes much time and touches all
> config.h) and then re-make everything (takes much time again).
> 
> Is there some trick / way to improve on that?

Not really.  If you don't use --force with autoreconf, then unchanged
config.h.in files nor unchanged config.h files should be touched
however.

I'd provide your users with a script that first runs autoreconf -v,
and then configure with cache enabled and make in the build tree.

Cheers,
Ralf




reply via email to

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