gobject-introspection r122 - trunk



Author: johan
Date: Fri Mar  7 00:16:48 2008
New Revision: 122
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=122&view=rev

Log:
2008-03-06  Johan Dahlin  <jdahlin async com br>

    * configure.ac:
    Consistent checks, add missing 'test'



Modified:
   trunk/ChangeLog
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Fri Mar  7 00:16:48 2008
@@ -37,21 +37,21 @@
 dnl libffi
 PKG_CHECK_MODULES(FFI, libffi, have_ffi_pkgconfig=yes, have_ffi_pkgconfig=no)
 
-if x$have_ffi_pkgconfig = xno ; then
+if test x"$have_ffi_pkgconfig" = xno ; then
   AC_MSG_CHECKING(for ffi.h)
 
   AC_TRY_CPP([#include <ffi.h>], have_ffi_h=yes, have_ffi_h=no)
-  if test $have_ffi_h = yes; then
+  if test x"$have_ffi_h" = x"yes"; then
 
     save_LIBS=$LIBS
-    if test x"$with_ffi" = xyes || test x"$with_ffi" = xauto; then
+    if test x"$with_ffi" = x"yes" || test x"$with_ffi" = x"auto"; then
       other_LIBS=
     else
       other_LIBS=$with_ffi
     fi
 
     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
+    if test x"$ac_cv_search_ffi_call" = x"none required" ; then
       FFI_LIBS=$other_LIBS
     else
       FFI_LIBS="$ac_cv_search_ffi_call $other_LIBS"
@@ -59,7 +59,7 @@
 
     LIBS=$save_LIBS
   fi
-  if test x"$have_ffi_h" != xyes ; then
+  if test x"$have_ffi_h" != x"yes" ; then
     AC_MSG_ERROR([ffi.h not found])
   fi
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]