From b58151b34794b9c2f980310d7e32236652de4a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 4 Oct 2011 09:58:35 +0100 Subject: [PATCH] use the same pattern as all the other ones --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index d08e4c1703a0..0a2970bc08f8 100644 --- a/configure.in +++ b/configure.in @@ -4628,7 +4628,8 @@ dnl Check for system libcmis dnl =================================================================== if test "x$with_cmis" != "xno" ; then AC_MSG_CHECKING([which libcmis to use]) - if test "x$with_system_libcmis" != "xno"; then + if test -n "$with_system_libcmis" -o -n "$with_system_libs" && \ + test "$with_system_libcmis" != "no"; then AC_MSG_RESULT([external]) SYSTEM_LIBCMIS=YES PKG_CHECK_MODULES( LIBCMIS, libcmis-0.2 )