add patch to properly compile with/without libnotify. Thanks to Tomasz Golinski(reported - https://bugs.gentoo.org/show_bug.cgi?id=363321)

This commit is contained in:
2012-03-29 20:41:32 +04:00
parent b556953876
commit 438e6750e6
3 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,11 @@
--- configure.ac.org 2011-06-03 19:44:45.848405096 +0200
+++ configure.ac 2011-06-03 19:50:54.353341075 +0200
@@ -136,7 +136,7 @@
PKG_CHECK_MODULES(COMPIZMOUSEPOLL, compiz-mousepoll, [have_compiz_mousepoll=yes], [have_compiz_mousepoll=no])
AM_CONDITIONAL(SHOWMOUSE_PLUGIN, test "x$have_compiz_mousepoll" = "xyes")
-PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], [have_libnotify=no])
+AC_ARG_WITH([libnotify], [AS_HELP_STRING([--with-libnotify], [Build with libnotify support @<:@default=auto@:>@])])
AM_CONDITIONAL(NOTIFICATION_PLUGIN, test "x$have_libnotify" = "xyes")
if test "$have_libnotify" = yes; then
AC_DEFINE(USE_NOTIFICATION, 1, [Build notification plugin])