summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Pogonyshev <pogonyshev@gmx.net>2008-07-20 20:31:46 +0000
committerPaul Pogonyshev <paulp@src.gnome.org>2008-07-20 20:31:46 +0000
commit2086b1a575e12679ce06178a54ba48acac0fe227 (patch)
tree9a97acaeefb7eeebeb85947e093d2e28bcbd4d6e
parent45ccf5f6ff1a1805ed326b397c70cf55bba28124 (diff)
downloadpygobject-2086b1a575e12679ce06178a54ba48acac0fe227.tar.gz
pygobject-2086b1a575e12679ce06178a54ba48acac0fe227.tar.xz
pygobject-2086b1a575e12679ce06178a54ba48acac0fe227.zip
Fix libffi check logic.
2008-07-20 Paul Pogonyshev <pogonyshev@gmx.net> * configure.ac (pygobject_CODEGEN_DEFINES): Fix libffi check logic. svn path=/trunk/; revision=844
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c65db60..7b52c42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-20 Paul Pogonyshev <pogonyshev@gmx.net>
+
+ * configure.ac (pygobject_CODEGEN_DEFINES): Fix libffi check
+ logic.
+
2008-07-20 Johan Dahlin <johan@gnome.org>
* glib/Makefile.am:
diff --git a/configure.ac b/configure.ac
index d9762fa..2723e77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,7 +163,8 @@ else
fi
if test x"$with_libffi" == xyes && test x"$have_libffi" != xyes ; then
AC_MSG_ERROR([ffi requested, but not found])
-else
+fi
+if test x"$with_libffi" == xyes; then
AC_DEFINE(HAVE_FFI_H,1,[Have libffi include files])
fi
AC_MSG_RESULT([$have_libffi])