diff options
author | Rene Engelhard <rene@debian.org> | 2011-10-02 21:36:48 +0000 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2011-10-02 21:36:48 +0000 |
commit | ba44f8805b238479981a9d889e7e432c0a531d42 (patch) | |
tree | ab37e41814c42a335b6ef4a86024f69f492140a3 /configure.in | |
parent | a1f710e799e5faac14234d971481a94f35316837 (diff) |
add --with-system-libcmis
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.in b/configure.in index cb7cfcc40813..d04cedc69299 100644 --- a/configure.in +++ b/configure.in @@ -4614,6 +4614,23 @@ AC_SUBST(SYSTEM_LIBVISIO) AC_SUBST(LIBVISIO_CFLAGS) AC_SUBST(LIBVISIO_LIBS) +dnl =================================================================== +dnl Check for system libcmis +dnl =================================================================== +AC_MSG_CHECKING([which libcmis to use]) +if test -n "$with_system_libcmis" -a "$with_system_libcmis" = "yes"; then + AC_MSG_RESULT([external]) + SYSTEM_LIBVISIO=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) + dnl =================================================================== dnl Check for system libwpd |