[seed] Revert "Fix checking for libffi"
- From: Robert Carr <racarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Revert "Fix checking for libffi"
- Date: Mon, 27 Apr 2009 17:51:26 -0400 (EDT)
commit 5d4d99016decfdf65b0cb8e973b48444e0cb2a15
Author: Robert Carr <racarr svn gnome org>
Date: Mon Apr 27 17:09:36 2009 -0400
Revert "Fix checking for libffi"
This reverts commit 3e89e1d856f478bc9df948b79c0529c9c3b874bb.
---
configure.ac | 11 +++++------
libseed/Makefile.am | 4 ++--
src/Makefile.am | 2 +-
3 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index c15d277..8eba9e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@ AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])
dnl ============================libffi=========================================
-PKG_CHECK_MODULES(FFI, libffi, have_ffi_pkgconfig=yes, have_ffi_pkgconfig=no)
+PKG_CHECK_MODULES(libffi, libffi, have_ffi_pkgconfig=yes, have_ffi_pkgconfig=no)
if test x"$have_ffi_pkgconfig" = xno ; then
AC_MSG_CHECKING(for ffi.h)
@@ -56,9 +56,9 @@ if test x"$have_ffi_pkgconfig" = xno ; then
AC_SEARCH_LIBS(ffi_call,ffi,,AC_MSG_ERROR([libffi not found]),$other_LIBS)
if test x"$ac_cv_search_ffi_call" = x"none required" ; then
- FFI_LDFLAGS=$other_LIBS
+ FFI_LIBS=$other_LIBS
else
- FFI_LDFLAGS="$ac_cv_search_ffi_call $other_LIBS"
+ FFI_LIBS="$ac_cv_search_ffi_call $other_LIBS"
fi
LIBS=$save_LIBS
fi
@@ -69,11 +69,10 @@ if test x"$have_ffi_pkgconfig" = xno ; then
FFI_CFLAGS=
AC_MSG_RESULT([$have_ffi_h])
+ AC_SUBST(FFI_LIBS)
+ AC_SUBST(FFI_CFLAGS)
fi
-AC_SUBST(FFI_LIBS)
-AC_SUBST(FFI_CFLAGS)
-
dnl =======================WebKit ContextGroup=================================
case "$host_os" in
darwin*)
diff --git a/libseed/Makefile.am b/libseed/Makefile.am
index ce9a48e..7582402 100644
--- a/libseed/Makefile.am
+++ b/libseed/Makefile.am
@@ -24,9 +24,9 @@ libseed_la_SOURCES = \
seed-importer.c \
seed-importer.h
-libseed_la_LIBADD = $(LIBSEED_LIBS) $(LIBFFI_LDFLAGS)
+libseed_la_LIBADD = $(LIBSEED_LIBS) $(LIBFFI_LIBS)
libseed_la_CPPFLAGS = -lgmodule-2.0 $(LIBSEED_CFLAGS) $(SEED_OSX_CFLAGS) $(FFI_CFLAGS) -Wall
-libseed_la_LDFLAGS = -no-undefined $(SEED_PROFILE_LDFLAGS) $(SEED_OSX_LDFLAGS) $(FFI_LDFLAGS)
+libseed_la_LDFLAGS = -no-undefined $(SEED_PROFILE_LDFLAGS) $(SEED_OSX_LDFLAGS) $(FFI_LIBS)
seedheaders_HEADERS = seed.h
diff --git a/src/Makefile.am b/src/Makefile.am
index 46efaf7..ba39d99 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,5 +23,5 @@ seed_LDFLAGS = \
seed_LDADD = \
$(SEED_LIBS) \
- $(LIBFFI_LDFLAGS) \
+ $(LIBFFI_LIBS) \
-lseed
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]