diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-11-28 15:06:59 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-12-08 14:28:04 +0100 |
commit | d701a0e9ccf6256e229bafeb4e62b3f04300840d (patch) | |
tree | 38144573360bcf61b3c55ed9bbb6e208d0f3194a /configure.in | |
parent | Resolves: fdo#43337 optimize weak-char overriding (diff) | |
download | core-d701a0e9ccf6256e229bafeb4e62b3f04300840d.tar.gz core-d701a0e9ccf6256e229bafeb4e62b3f04300840d.zip |
Stub Corel Draw importer
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 1c9a08d965fd..4cfeae07ee24 100644 --- a/configure.in +++ b/configure.in @@ -1033,6 +1033,11 @@ AC_ARG_WITH(system-libcmis, [Use libcmis already on system.]),, [with_system_libcmis="$with_system_libs"]) +AC_ARG_WITH(system-libcdr, + AS_HELP_STRING([--with-system-libcdr], + [Use libvisio already on system.]),, + [with_system_libcdr="no"]) + AC_ARG_WITH(system-libvisio, AS_HELP_STRING([--with-system-libvisio], [Use libvisio already on system.]),, @@ -4719,6 +4724,23 @@ fi AC_SUBST(SYSTEM_EXPAT) dnl =================================================================== +dnl Check for system libcdr +dnl =================================================================== +AC_MSG_CHECKING([which libcdr to use]) +if test "$with_system_libcdr" = "yes"; then + AC_MSG_RESULT([external]) + SYSTEM_LIBCDR=YES + PKG_CHECK_MODULES( CDR, libcdr-0.0 ) +else + AC_MSG_RESULT([internal]) + SYSTEM_LIBCDR=NO + BUILD_TYPE="$BUILD_TYPE LIBCDR" +fi +AC_SUBST(SYSTEM_LIBCDR) +AC_SUBST(CDR_CFLAGS) +AC_SUBST(CDR_LIBS) + +dnl =================================================================== dnl Check for system libvisio dnl =================================================================== AC_MSG_CHECKING([which libvisio to use]) |