From 165d6abf6df5dd56ce5535410d918a4ef22b873b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 3 Jul 2011 12:00:37 +0200 Subject: 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 Signed-off-by: "Yann E. MORIN" diff --git a/configure b/configure index 24fa1d8..5d35b6d 100755 --- a/configure +++ b/configure @@ -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 -- cgit v0.10.2-6-g49f6