Merge pull request #1453 from rubenk/configure-dont-output-pkgconfig-errors
authorRuben Kerkhof <ruben@tilaa.nl>
Fri, 11 Dec 2015 20:36:53 +0000 (21:36 +0100)
committerRuben Kerkhof <ruben@tilaa.nl>
Fri, 11 Dec 2015 20:36:53 +0000 (21:36 +0100)
libnotify: Don't output multiple lines of errors

configure.ac

index 7f24978..afb0819 100644 (file)
@@ -5127,11 +5127,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
 #