Better diagnostics when wget is missing
authorDodji Seketeli <dodji@redhat.com>
Wed, 23 Nov 2016 12:13:19 +0000 (13:13 +0100)
committerDodji Seketeli <dodji@redhat.com>
Wed, 23 Nov 2016 12:15:02 +0000 (13:15 +0100)
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 <dodji@redhat.com>
configure.ac

index 402bbc6fda34727a8f95262204bd2f6ccfa22336..b1ca0a4159bf7cfda76f5e8a48743ea6b3274b7a 100644 (file)
@@ -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