Python and Autoconf

Vadim Zeitlin zeitlin at seth.lpthe.jussieu.fr
Thu May 24 02:29:19 CEST 2001


On Wed, 23 May 2001 10:13:06 -0700, Glen Starchman <glen at enabledventures.com> wrote:
>I am actually working on a whole suite of macros (listed below). None of
>them are terribly complex, but due to time constraints, I am only
>implementing them as a I actually *need* them. 
>
>Any more idea?

 I searched for a long time for the autoconf macros to detect the location of
Python headers and libraries to be able to embed Python into a C++ program but
never found anything - and, if I didn't miss them in your (impressive!) list,
you don't have them neither. So I just thought that I might contribute my code
for finding out the location of the headers and libs (including some weird
stuff like automatically adding -lreadline under FreeBSD or -lutil under Linux
for 2.0 to make it link...) if you can make it more presentable - currently
it's really awful as I don't know m4 at all. Someone who does can probably
simplify it significantly...

 Regards,
VZ
-- 
GCS/GM d? H+ s++:-- p2 au--- a- w+ v C+++ UBLS+++ P- L++ N++ E--- W++++ M? V--
-po+ R++ G`` !tv b+++ D--- e++++ u++ h--- f+ r++ n- y?



More information about the Python-list mailing list