From: gouldtj Date: Wed, 31 Oct 2007 13:28:23 +0000 (+0000) Subject: r16912@shi: ted | 2007-10-30 21:15:07 -0700 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=76819fd8988fdafb0ff4e803917eba408a72f82c;p=inkscape.git r16912@shi: ted | 2007-10-30 21:15:07 -0700 Build in checking for libwpg --- diff --git a/configure.ac b/configure.ac index 4f86ff831..b707eb4af 100644 --- a/configure.ac +++ b/configure.ac @@ -544,6 +544,16 @@ AM_CONDITIONAL(WITH_INKBOARD, test "x$with_inkboard" = "xyes") AC_SUBST(INKBOARD_LIBS) AC_SUBST(INKBOARD_CFLAGS) +dnl ****************************** +dnl Check for libwpg for extension +dnl ****************************** + +PKG_CHECK_MODULES(LIBWPG, libwpg-0.1, with_libwpg=yes, with_libwpg=no) +if test "x$with_libwpg" = "xyes"; then + AC_DEFINE(WITH_LIBWPG,1,[Build in libwpg]) +fi +AM_CONDITIONAL(WITH_LIBWPG, test "x$with_libwpg" = "xyes") + dnl ****************************** dnl Check for ImageMagick Magick++ dnl ****************************** @@ -938,4 +948,5 @@ Configuration: Enable SSL in Inkboard: ${with_inkboard_ssl} Enable Poppler-Cairo: ${enable_poppler_cairo} ImageMagick Magick++: ${magick_ok} + Libwpg: ${with_libwpg} "