Eye-candy in ./configure.

/trunk/configure |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
This commit is contained in:
Yann E. MORIN" 2008-07-22 09:17:40 +00:00
parent 679fd52ed1
commit a9f3c8fa8b

6
configure vendored
View File

@ -56,15 +56,15 @@ has_or_abort() {
where=$(which "${tool}" 2>/dev/null || true)
if [ -z "${where}" ]; then
printf "not found!"
[ ${FORCE} -eq 0 ] && do_error " bailing out..."
[ ${FORCE} -eq 0 ] && do_error " Bailing out..."
echo
else
printf "${where}"
if [ -n "${regexp}" ]; then
str=$(${tool} --version 2>&1 |egrep "${regexp}" |head -n 1)
if [ -z "${str}" ]; then
printf " failed: '${tool} --version' does not match regexp '${regexp}'"
[ ${FORCE} -eq 0 ] && do_error " bailing out..."
printf " failed: '${tool} --version' does not match regexp '${regexp}'."
[ ${FORCE} -eq 0 ] && do_error " Bailing out..."
fi
fi
echo