From b2342735e543f8fec2f6914d5e628391dd0ffc46 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Mon, 3 Mar 2008 21:33:06 +0100 Subject: Require libffi 3.x. darcs-hash:336a6b83c9f36e68a26822ae40c0f7bb9a005feb --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f777adf..6f070c2 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,9 @@ AC_PROG_OBJC #AC_PROG_LN_S AC_PROG_MAKE_SET -AC_SEARCH_LIBS([ffi_call], [ffi], [HAVE_LIBFFI=1; break], [HAVE_LIBFFI=0]) +# Note that ffi_prep_closure_loc is not available in libffi versions +# prior to 3.0.0. This includes Leopard's preinstalled libffi. +AC_SEARCH_LIBS([ffi_prep_closure_loc], [ffi], [HAVE_LIBFFI=1; break], [HAVE_LIBFFI=0]) HAVE_ANY_FFI_H=0 if test x$HAVE_LIBFFI = x1; then -- cgit v1.2.3