configure: indent error/warning message
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 03 12:00:37 2011 +0200 (2011-07-03)
changeset 2524cdb5c36290f4
parent 2523 b1bf9ca6db1a
child 2525 00054087dab2
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>
configure
     1.1 --- a/configure	Mon Jun 27 18:04:50 2011 +0200
     1.2 +++ b/configure	Sun Jul 03 12:00:37 2011 +0200
     1.3 @@ -233,8 +233,8 @@
     1.4      local var ver err kconfig
     1.5  
     1.6      if ! check_for "$@"; then
     1.7 -        printf " * A mandatory dependency is missing, or version mis-match\n"
     1.8 -        printf " * ${err:-${prog}${inc}${lib}: none found}\n"
     1.9 +        printf " * A mandatory dependency is missing, or version mis-match:\n"
    1.10 +        printf " * - ${err:-${prog}${inc}${lib}: none found}\n"
    1.11          if [ -n "${var}" ]; then
    1.12              printf " * --> You can give the path to this tool using: --with-${var}=PATH\n"
    1.13          fi
    1.14 @@ -260,8 +260,8 @@
    1.15      local var ver err kconfig
    1.16  
    1.17      if ! check_for "$@"; then
    1.18 -        printf " * An optional dependency is missing, some features will be disabled\n"
    1.19 -        printf "${err:+ * ${err}\n}"
    1.20 +        printf " * An optional dependency is missing, some features will be disabled"
    1.21 +        printf "${err:+:\n * - ${err}}\n"
    1.22          if [ -n "${var}" ]; then
    1.23              printf " * --> You can give the path to this tool using: --with-${var}=PATH\n"
    1.24          fi