forked from pool/collectd
49 lines
1.9 KiB
Diff
49 lines
1.9 KiB
Diff
|
--- configure.in.orig 2011-04-15 08:06:54.000000000 +0200
|
||
|
+++ configure.in 2011-04-15 08:09:05.000000000 +0200
|
||
|
@@ -3833,7 +3833,7 @@
|
||
|
fi
|
||
|
# }}}
|
||
|
|
||
|
-PKG_CHECK_MODULES([LIBNOTIFY], [libnotify],
|
||
|
+PKG_CHECK_MODULES([LIBNOTIFY], [libnotify gtk+-2.0],
|
||
|
[with_libnotify="yes"],
|
||
|
[with_libnotify="no ($LIBNOTIFY_PKG_ERRORS)"])
|
||
|
|
||
|
--- configure.orig 2011-04-15 08:09:08.000000000 +0200
|
||
|
+++ configure 2011-04-15 08:10:40.000000000 +0200
|
||
|
@@ -45112,7 +45112,7 @@
|
||
|
ac_status=$?
|
||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||
|
(exit $ac_status); }; then
|
||
|
- pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
|
||
|
+ pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" "gtk+-2.0"2>/dev/null`
|
||
|
else
|
||
|
pkg_failed=yes
|
||
|
fi
|
||
|
@@ -45126,11 +45126,11 @@
|
||
|
else
|
||
|
if test -n "$PKG_CONFIG" && \
|
||
|
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnotify\"") >&5
|
||
|
- ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
|
||
|
+ ($PKG_CONFIG --exists --print-errors "libnotify" "gtk+-2.0") 2>&5
|
||
|
ac_status=$?
|
||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||
|
(exit $ac_status); }; then
|
||
|
- pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
|
||
|
+ pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" "gtk+-2.0" 2>/dev/null`
|
||
|
else
|
||
|
pkg_failed=yes
|
||
|
fi
|
||
|
@@ -45149,9 +45149,9 @@
|
||
|
_pkg_short_errors_supported=no
|
||
|
fi
|
||
|
if test $_pkg_short_errors_supported = yes; then
|
||
|
- LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify"`
|
||
|
+ LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify" "gtk+-2.0"`
|
||
|
else
|
||
|
- LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify"`
|
||
|
+ LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify" "gtk+-2.0"`
|
||
|
fi
|
||
|
# Put the nasty error message in config.log where it belongs
|
||
|
echo "$LIBNOTIFY_PKG_ERRORS" >&5
|