From 39cf2d9ca4fc9b50984ec172282d33b1843fceee Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 21 Jul 2008 08:13:41 +0000 Subject: Use yes/no instead of true/false. Avoid bashism. Fix another logic bug, 2008-07-21 Johan Dahlin * configure.ac: Use yes/no instead of true/false. Avoid bashism. Fix another logic bug, and let's hope I didn't break anything svn path=/trunk/; revision=845 --- ChangeLog | 6 ++++++ configure.ac | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7b52c42..e39bc5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-07-21 Johan Dahlin + + * configure.ac: + Use yes/no instead of true/false. Avoid bashism. + Fix another logic bug, and let's hope I didn't break anything + 2008-07-20 Paul Pogonyshev * configure.ac (pygobject_CODEGEN_DEFINES): Fix libffi check diff --git a/configure.ac b/configure.ac index 2723e77..3884fa7 100644 --- a/configure.ac +++ b/configure.ac @@ -159,16 +159,16 @@ AC_ARG_WITH(ffi, 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) -- cgit