Re: Guile support in GNU make

Paul Smith <[email protected]>
Newsgroups gmane.comp.gnu.make.devel
Organization GNU's Not Unix!
Message-ID <1326573467.3482.162.camel@homebase>
On Sat, 2012-01-14 at 22:25 +0200, Eli Zaretskii wrote:
> > From: Paul Smith <[email protected]>
> > Date: Sat, 14 Jan 2012 15:13:36 -0500
> > 
> > Hi all.  I'm ready to commit the Guile embedded scripting support.
> > 
> > Any comments on this implementation are welcome.
> 
> How will this work at build time?  IOW, what are build-time
> requirements for having Guile support in the built binary?

On systems where you run configure, configure should detect Guile and
build with it if it's available.  The typical "--with-guile",
"--without-guile" flags are provided.

On all other systems Guile is currently disabled (I've added the undef
of HAVE_GUILE to the various pre-built config.h versions).

I'm not really sure how to get it enabled on other systems, short of
editing those config.h files by hand and adding -lguile to the link
line.  That should be all you need but I don't have access to those
systems.  For anyone supporting the non-configure-based systems I'm open
to any suggestions about the best way to handle it there.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
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.