From d0f9d8cb8786b82775176fc14a04025cd16e1b42 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 11 Dec 2015 17:08:44 +0100 Subject: [PATCH] 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. --- configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 # -- 2.11.0