Re: LibFFI (and popt) in SableVM sources

"Grzegorz B. Prokopski" <[email protected]> Mon, 28 Mar 2005 19:17:10 -0500
Newsgroups gmane.comp.java.vm.sablevm.devel
Organization SableVM - LGPL'ed Free Java VM http://sablevm.org
Message-ID <[email protected]>
On Mon, 2005-28-03 at 15:48 -0600, Stephen Compall wrote:
> On Sun, 2005-03-27 at 23:01 -0500, Grzegorz B. Prokopski wrote:
> > I recall that Gerrit (aka Master of Cygwin) once showed us how to make
> > libffi a convenience library.  This could be made optional and
> > autodetected, so that internal libffi was used when no system-wide
> > libffi installation was found.   We could do the same with libpopt,
> > which is also another small library causing big PITA to our users. [*]
> 
> Options --with-libffi and --with-libpopt (a la GCC) that force or fail
> (AC_MSG_ERROR) if system versions aren't present would also be useful
> for packaging.

Of course.  In the preliminary version in my sandbox I already have
--with-internal-libff=auto,yes,no.  It fails, if you select no and
have no system-wide libffi available, including the header files.

The 'auto' is of course the default, but actually having libffi linked
directly into libsablevm increases its size by some 9kB on i386.

If only I could get the distcheck working ;-/

Cheers,

				Grzegorz B. Prokopski
-- 
Grzegorz B. Prokopski           <[email protected]>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org