pygobject r845 - trunk
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: pygobject r845 - trunk
- Date: Mon, 21 Jul 2008 08:13:41 +0000 (UTC)
Author: johan
Date: Mon Jul 21 08:13:41 2008
New Revision: 845
URL: http://svn.gnome.org/viewvc/pygobject?rev=845&view=rev
Log:
2008-07-21 Johan Dahlin <johan gnome org>
* configure.ac:
Use yes/no instead of true/false. Avoid bashism.
Fix another logic bug, and let's hope I didn't break anything
Modified:
trunk/ChangeLog
trunk/configure.ac
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Mon Jul 21 08:13:41 2008
@@ -159,16 +159,16 @@
if test x"$with_libffi" = xno ; then
have_libffi=false
else
- PKG_CHECK_MODULES(FFI, libffi >= 3.0, have_libffi=true, have_libffi=false)
+ PKG_CHECK_MODULES(FFI, libffi >= 3.0, have_libffi=yes, have_libffi=no)
fi
-if test x"$with_libffi" == xyes && test x"$have_libffi" != xyes ; then
+if test x"$with_libffi" = xyes && test x"$have_libffi" = xno ; then
AC_MSG_ERROR([ffi requested, but not found])
fi
-if test x"$with_libffi" == xyes; then
+if test x"$have_libffi" = xyes; then
AC_DEFINE(HAVE_FFI_H,1,[Have libffi include files])
fi
AC_MSG_RESULT([$have_libffi])
-AM_CONDITIONAL(HAVE_LIBFFI, test "$have_libffi" = "true")
+AM_CONDITIONAL(HAVE_LIBFFI, test "$have_libffi" = "yes")
AC_SUBST(FFI_CFLAGS)
AC_SUBST(FFI_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]