Forgot to add autofoo for libffi
authorDavid Zeuthen <davidz@redhat.com>
Sat, 9 Apr 2011 15:39:32 +0000 (11:39 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Sat, 9 Apr 2011 15:39:32 +0000 (11:39 -0400)
Signed-off-by: David Zeuthen <davidz@redhat.com>
configure.ac

index 683c770..5a4f229 100644 (file)
@@ -453,6 +453,10 @@ if test "x$found_zlib" = "xno" ; then
   AC_SUBST(ZLIB_LIBS)
 fi
 
+PKG_CHECK_MODULES(LIBFFI, [libffi >= 3.0.0])
+AC_SUBST(LIBFFI_CFLAGS)
+AC_SUBST(LIBFFI_LIBS)
+
 dnl
 dnl gettext support
 dnl