git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1029
959494ce-11ee-0310-bf91-
de5d638817bd
HAS_LIBXML=no
fi
+# libnotify check
+AC_MSG_CHECKING([for libnotify package information])
+if test "$PKG_CONFIG" = yes; then
+ if pkg-config --modversion libnotify >/dev/null 2>&1; then
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+ HAS_LIBNOTIFY=no
+ fi
+else
+ AC_MSG_RESULT(no)
+ HAS_LIBNOTIFY=no
+fi
+if test "$HAS_LIBNOTIFY" != no; then
+ AC_CHECK_LIB(notify, notify_init, [HAS_LIBNOTIFY=yes], [HAS_LIBNOTIFY=no], `pkg-config --libs libnotify`)
+fi
+
# Gtk GUI check
gtk2ui_msg=No
AC_ARG_ENABLE(gtk2ui, [ --enable-gtk2ui Enable the GTK2 user interface])