Re: [scons-devel] auto-configuration plans

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Anthony Roach wrote:

> >>I just thought of another use of the configure module, if it is made to
> >>work in a generic way: from distutils.
> >
> >Ok, this is the last I am going to say on this subject because if you're
> >going to do the work then that's your business.  But since the SCons build
> >engine is already a module, there is nothing stopping you from using the
> >existing configure code from your setup.py.  
> >
> This is a really good point. Bram could just take SConf as it is today, 
> and write a thin wrapper to adapt it to AAP (i.e. take the construction 
> environment variables and copy them to AAP variable space), and be done 
> with it.

And include the whole of SCons inside Aap?  Not a good idea!  It's like
getting a whole toolchest when you only need a screwdriver.  I don't
want to have Aap depend on the whole of SCons.

Suppose Aap would have had the configure features first, would you have
included the whole of Aap in SCons to access these features?


It's nice that the SCons configure parts are available from a Python
script.  But it's far from an autoconf replacement.  You would also need
functions to generate a config.h file and filter Makefile.in to Makefile
(or generate a file that can be included from Makefile).  And then it's
still only for people who know Python.

-- 
hundred-and-one symptoms of being an internet addict:
42. Your virtual girlfriend finds a new net sweetheart with a larger bandwidth.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.