diff -ru pygobject-2.14.2.orig/configure.ac pygobject-2.14.2/configure.ac --- pygobject-2.14.2.orig/configure.ac 2008-05-23 12:51:11.000000000 -0400 +++ pygobject-2.14.2/configure.ac 2008-07-04 13:45:30.088664555 -0400 @@ -146,7 +146,7 @@ dnl libffi AC_MSG_CHECKING(for ffi.h) AC_ARG_WITH(libffi, - AC_HELP_STRING([--without-ffi], [Disable libffi support]), + AC_HELP_STRING([--without-libffi], [Disable libffi support]), with_ffi=$withval, with_ffi=auto) if test x"$with_ffi" = xno ; then @@ -170,7 +170,7 @@ LIBS=$save_LIBS fi fi -if test x"$with_ffi" != xauto && test x"$pygobject_ffi_h" != xyes ; then +if test x"$with_ffi" == xyes && test x"$pygobject_ffi_h" != xyes ; then AC_MSG_ERROR([libffi requested, but ffi.h not found]) fi AC_MSG_RESULT([$pygobject_ffi_h])