From: Ruben Kerkhof Date: Fri, 11 Dec 2015 16:08:44 +0000 (+0100) Subject: libnotify: Don't output multiple lines of errors X-Git-Tag: collectd-5.6.0~501^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d0f9d8cb8786b82775176fc14a04025cd16e1b42;p=collectd.git libnotify: Don't output multiple lines of errors The errors pkg-config returns are not very helpful and they break our nicely formatted list of found and absent libraries. Just say that the package can't be found, like we do for the rest of the packages we need. --- diff --git a/configure.ac b/configure.ac index c4483792..e185115b 100644 --- a/configure.ac +++ b/configure.ac @@ -5125,11 +5125,8 @@ AM_CONDITIONAL(BUILD_WITH_LIBATASMART, test "x$with_libatasmart" = "xyes") PKG_CHECK_MODULES([LIBNOTIFY], [libnotify], [with_libnotify="yes"], - [if test "x$LIBNOTIFY_PKG_ERRORS" = "x"; then - with_libnotify="no" - else - with_libnotify="no ($LIBNOTIFY_PKG_ERRORS)" - fi]) + [with_libnotify="no (pkg-config doesn't know libnotify)"] +) # Check for enabled/disabled features #