[Libreoffice-commits] .: configure.in
Tomáš Chvátal
tchvatal at kemper.freedesktop.org
Tue Oct 4 01:43:33 PDT 2011
configure.in | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
New commits:
commit 05c008e3fb8aef19d3fa521859dd40d40e1eb9e0
Author: Tomas Chvatal <tchvatal at suse.cz>
Date: Tue Oct 4 10:42:36 2011 +0200
Wrap the cmis system/internal check into global feature switch.
diff --git a/configure.in b/configure.in
index 911aed2..d08e4c1 100644
--- a/configure.in
+++ b/configure.in
@@ -4626,19 +4626,21 @@ AC_SUBST(LIBVISIO_LIBS)
dnl ===================================================================
dnl Check for system libcmis
dnl ===================================================================
-AC_MSG_CHECKING([which libcmis to use])
-if test "x$with_system_libcmis" != "xno"; then
- AC_MSG_RESULT([external])
- SYSTEM_LIBCMIS=YES
- PKG_CHECK_MODULES( LIBCMIS, libcmis-0.2 )
-else
- AC_MSG_RESULT([internal])
- SYSTEM_LIBCMIS=NO
- BUILD_TYPE="$BUILD_TYPE LIBCMIS"
+if test "x$with_cmis" != "xno" ; then
+ AC_MSG_CHECKING([which libcmis to use])
+ if test "x$with_system_libcmis" != "xno"; then
+ AC_MSG_RESULT([external])
+ SYSTEM_LIBCMIS=YES
+ PKG_CHECK_MODULES( LIBCMIS, libcmis-0.2 )
+ else
+ AC_MSG_RESULT([internal])
+ SYSTEM_LIBCMIS=NO
+ BUILD_TYPE="$BUILD_TYPE LIBCMIS"
+ fi
+ AC_SUBST(SYSTEM_LIBCMIS)
+ AC_SUBST(LIBCMIS_CFLAGS)
+ AC_SUBST(LIBCMIS_LIBS)
fi
-AC_SUBST(SYSTEM_LIBCMIS)
-AC_SUBST(LIBCMIS_CFLAGS)
-AC_SUBST(LIBCMIS_LIBS)
dnl ===================================================================
More information about the Libreoffice-commits
mailing list