[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Checking for interpreter libraries
From: |
Stepan Kasal |
Subject: |
Re: Checking for interpreter libraries |
Date: |
Wed, 27 Jul 2005 14:21:04 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Wed, Jul 27, 2005 at 01:21:14PM +0200, Tommy Nordgren wrote:
> I want to find out if there is any autoconf macros for checking for
> the presence of various scripting language interpreters, and the
> libraries for extending/embedding them.
I don't think there is an instant support for this.
> [...] in particular Perl and Python.
Gnumeric, the GNU spreadsheet, supports scripting in both perl and python,
thus the autodetection in its configure.in might inspire you.
Download it from:
http://cvs.gnome.org/viewcvs/gnumeric/configure.in?rev=.
Then there is macro AM_PATH_PYTHON in Automake, but I don't think it
deals with embedding. Yet it might be inspiring.
(See file m4/python.m4 in the Automake source tree; currently, it is
identical as my /usr/share/aclocal-1.9/python.m4 from Automake 1.9.6.
There was no non-trivial change since the release 1.9.4.)
Have a nice day,
Stepan Kasal