diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-05-24 11:59:16 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-05 14:04:07 +0200 |
commit | dc4b91d310b3b4c9b826345df5babc33cad46ba3 (patch) | |
tree | 700c545e7e576558b940eb26d181893a86266767 /configure.in | |
parent | 4190e9351e69730f0097e6cdf4dad2fafa10577e (diff) |
Adding Microsoft Publisher Import filter
Change-Id: Iec9c9c5419a40e7ad64af057f1bbb426ca3163b0
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/configure.in b/configure.in index aa907d08fdad..ec4461d85e1a 100644 --- a/configure.in +++ b/configure.in @@ -1215,6 +1215,11 @@ AC_ARG_WITH(system-libcdr, [Use libcdr already on system.]),, [with_system_libcdr="$with_system_libs"]) +AC_ARG_WITH(system-libmspub, + AS_HELP_STRING([--with-system-libmspub], + [Use libmspub already on system.]),, + [with_system_libmspub="$with_system_libs"]) + AC_ARG_WITH(system-libvisio, AS_HELP_STRING([--with-system-libvisio], [Use libvisio already on system.]),, @@ -6247,6 +6252,26 @@ AC_SUBST(CDR_CFLAGS) AC_SUBST(CDR_LIBS) dnl =================================================================== +dnl Check for system libmspub +dnl =================================================================== +AC_MSG_CHECKING([which libmspub to use]) +if test "$with_system_libmspub" = "yes"; then + AC_MSG_RESULT([external]) + SYSTEM_LIBMSPUB=YES + PKG_CHECK_MODULES( MSPUB, libmspub-0.0 ) +elif test $_os = iOS; then + # libmspub depends on libwpd and libwpg and those are LGPL + AC_MSG_RESULT([none]) +else + AC_MSG_RESULT([internal]) + SYSTEM_LIBMSPUB=NO + BUILD_TYPE="$BUILD_TYPE LIBMSPUB" +fi +AC_SUBST(SYSTEM_LIBMSPUB) +AC_SUBST(MSPUB_CFLAGS) +AC_SUBST(MSPUB_LIBS) + +dnl =================================================================== dnl Check for system libvisio dnl =================================================================== AC_MSG_CHECKING([which libvisio to use]) |