[Python-Dev] Adding directories to configure.in for fink? (original) (raw)

Stephen J. Turnbull stephen at xemacs.org
Mon Jul 19 11🔞12 CEST 2004


"Jack" == Jack Jansen <Jack.Jansen at cwi.nl> writes:

Jack> On 16-jul-04, at 11:25, Stephen J. Turnbull wrote:

>> If you're going to do this for Fink, don't you want to do it
>> for DarwinPorts too?  XEmacs's configure has a --site-prefixes
>> switch such that --site-prefixes=/sw does both
>> --site-includes=/sw/include and --site-libraries=/sw/lib.  This
>> handles both Fink and DarwinPorts (and anythign else that might
>> come along) in a sensible way.  Isn't that a generic autoconf
>> feature?

Jack> This would be very nice to have. How much work would it be
Jack> to implement it?

I'm not sure offhand, because I don't know the Python build system. Of course argument parsing is trivial. If we can just add those to the generic compile and link commands once each (which is effectively how it works in XEmacs) and once to setup.py, use is trivial, too. I'll take a look; it'll take a few days, though. Is there a time constraint (like are we shooting for the next 2.4 alpha)?

Likely the biggest problem is licensing (XEmacs is GPL, of course), but I bet I know who coded our configure.in, and he would give permission for me to do the work.

Jack> We don't currently support site-includes and site-libraries
Jack> either (I think) so that would need to be added too.

Same deal; it's just a question of prepending to the compile and link commands in such a way as to implement the documented include and load paths.

-- Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.



More information about the Python-Dev mailing list