configure: indent error/warning message

Indent the error/warning message so that it is explicit that
the second line is giving details for the first general hint.

Reported-by: Titus von Boxberg <titus@v9g.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2011-07-03 12:00:37 +02:00
parent d2d948a4ad
commit 165d6abf6d

8
configure vendored
View File

@ -233,8 +233,8 @@ has_or_abort() {
local var ver err kconfig
if ! check_for "$@"; then
printf " * A mandatory dependency is missing, or version mis-match\n"
printf " * ${err:-${prog}${inc}${lib}: none found}\n"
printf " * A mandatory dependency is missing, or version mis-match:\n"
printf " * - ${err:-${prog}${inc}${lib}: none found}\n"
if [ -n "${var}" ]; then
printf " * --> You can give the path to this tool using: --with-${var}=PATH\n"
fi
@ -260,8 +260,8 @@ has_or_warn() {
local var ver err kconfig
if ! check_for "$@"; then
printf " * An optional dependency is missing, some features will be disabled\n"
printf "${err:+ * ${err}\n}"
printf " * An optional dependency is missing, some features will be disabled"
printf "${err:+:\n * - ${err}}\n"
if [ -n "${var}" ]; then
printf " * --> You can give the path to this tool using: --with-${var}=PATH\n"
fi