summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-10-31 13:28:23 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-10-31 13:28:23 +0000
commit3b78484660eeaf817d5b5e3e2d1d54f4756dc131 (patch)
tree7b26d201f7662cad730ae62edeeeb1a32b08f85b
parentnoop: comment style (diff)
downloadinkscape-3b78484660eeaf817d5b5e3e2d1d54f4756dc131.tar.gz
inkscape-3b78484660eeaf817d5b5e3e2d1d54f4756dc131.zip
r16912@shi: ted | 2007-10-30 21:15:07 -0700
Build in checking for libwpg (bzr r3990)
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4f86ff831..b707eb4af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -545,6 +545,16 @@ 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}
"