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 <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2016-11-23 13:13:19 +01:00
parent e7c920edbc
commit a44a4c1068
1 changed files with 3 additions and 0 deletions

View 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