On Tue, 29 Nov 2011, David Matthews wrote:
On 24/11/2011 17:34, Ian Zimmerman wrote:
Yes, it is quite common to have an autoconf option like --with-system-libffi to force linking to an existing shared library. I don't think there would be any objection to that.
I've now added libffi to the Poly/ML source. I was trying to find a good name for the option to select building without the internal version of libffi and --with-system-libffi seemed a good choice. So, if ./configure is run without any option it will use the version included in the source.
I have tried this version 1379 successfully on my usual build platforms, using the builtin libffi sources: Linux, Mac OS Leopart, Mac OS Snow Leopard, Cygwin, both with x86/x86_64 in various combinations. Our libsha1 module also works as expected.
Makarius