diff options
| author | Soren Berg <glimmer07@gmail.com> | 2009-07-12 15:39:30 +0000 |
|---|---|---|
| committer | glimmer07 <glimmer07@users.sourceforge.net> | 2009-07-12 15:39:30 +0000 |
| commit | 61b06c26a149d8e9c7fa9459f4b62d0529f86ef3 (patch) | |
| tree | 0fdb91b67274147b09147daf1459abdcff4d175e | |
| parent | A branch for Soren Berg's 2009 GSoC Inkscape API work. (diff) | |
| download | inkscape-61b06c26a149d8e9c7fa9459f4b62d0529f86ef3.tar.gz inkscape-61b06c26a149d8e9c7fa9459f4b62d0529f86ef3.zip | |
Test for Dbus and enable if found
(bzr r8254.1.2)
| -rw-r--r-- | configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b804d0deb..418990602 100644 --- a/configure.ac +++ b/configure.ac @@ -617,6 +617,19 @@ AC_SUBST(LIBWPG_LIBS) AC_SUBST(LIBWPG_CFLAGS) dnl ****************************** +dnl Check for dbus functionality +dnl ****************************** + +PKG_CHECK_MODULES(DBUS, dbus-glib-1, with_dbus=yes, with_dbus=no) +if test "x$with_dbus" = "xyes"; then + AC_DEFINE(WITH_DBUS,1,[Build in dbus]) +fi +AM_CONDITIONAL(WITH_DBUS, test "x$with_dbus" = "xyes") + +AC_SUBST(DBUS_LIBS) +AC_SUBST(DBUS_CFLAGS) + +dnl ****************************** dnl Check for ImageMagick Magick++ dnl ****************************** @@ -1008,6 +1021,7 @@ Configuration: Internal Python: ${with_python} Internal Perl: ${with_perl} Enable LittleCms: ${enable_lcms} + Enable DBUS ${with_dbus} Enable Inkboard: ${with_inkboard} Enable SSL in Inkboard: ${with_inkboard_ssl} Enable Poppler-Cairo: ${enable_poppler_cairo} |
