From a44a4c10684436e92902bcd4c9de4af01808de21 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Wed, 23 Nov 2016 13:13:19 +0100 Subject: [PATCH] Better diagnostics when wget is missing When wget is missing building the fedabipkgdiff tool is disabled. This patch fixes diagnostics in that case. * configure.ac: When wget is missing then make the disabling of the building of the fedabipkgdiff tool show up in the configuration summary and emit a notice. Signed-off-by: Dodji Seketeli --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 402bbc6f..b1ca0a41 100644 --- a/configure.ac +++ b/configure.ac @@ -307,10 +307,13 @@ if test x$CHECK_DEPS_FOR_FEDABIPKGDIFF = xyes; then AC_PATH_PROG(WGET, wget, no) if test x$WGET = xno; then + ENABLE_FEDABIPKGDIFF=no if test x$MISSING_FEDABIPKGDIFF_DEP_FATAL = xyes; then AC_MSG_ERROR(could not find the wget program) else MISSING_FEDABIPKGDIFF_DEP=yes + AC_MSG_NOTICE([could not find the wget program]) + AC_MSG_NOTICE([disabling fedabipkgdiff as a result]) fi fi