[Aptitude-devel] Towards a better build system

Daniel Burrows dburrows at debian.org
Thu Apr 29 14:15:31 UTC 2010


On Thu, Apr 29, 2010 at 06:50:31AM -0700, Daniel Burrows <dburrows at debian.org> was heard to say:
> On Thu, Apr 29, 2010 at 11:03:30AM +0000, Sune Vuorela <nospam at vuorela.dk> was heard to say:
> > I do have a couple of questions:
> >  - is it correct that aptitude is designed to do a 'two pass' build,
> >    first building aptitude and then creating a different config.h and
> >    building aptitude-gtk ?
> 
>   Only because of limitations of autotools.  Run "scons --variant=all"
> and you'll get both versions of the program (with all combinations of
> compile flags).  Assuming you can get over your hatred of scons, that
> is. :)

  In order to forestall any complaints, I should qualify this to
"limitations of the way aptitude currently uses autotools".  Which
happens to be the standard, default "autotools way", but I can
certainly imagine ways to avoid a shared config.h.

  Daniel



More information about the Aptitude-devel mailing list