From 14e1025db266e6de34babc850c6f0411dc6a4242 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sat, 31 May 2008 00:31:03 -0500 Subject: [PATCH] configure: Improve test output. --- scripts/config-funcs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/config-funcs b/scripts/config-funcs index 5ff1a2c..d000533 100644 --- a/scripts/config-funcs +++ b/scripts/config-funcs @@ -110,7 +110,7 @@ ask () ok () { - echo "$BOLD${GREEN}ok${SGR0}" + echo -e '\r'`tput cuf 30`"$BOLD${GREEN}ok${SGR0} ${*:+${BOLD}${BLACK}($*)${SGR0}}" } failed () @@ -259,7 +259,7 @@ require_package () append "${name}_LIBS=`pkg-config --libs $3`" append "${name}_CFLAGS=-DHAVE_${1} `pkg-config --cflags $3`" - ok + ok `pkg-config --modversion "$3"` return 0 } @@ -299,7 +299,7 @@ require_FLTK () failed fatal "The installed FLTK version ($FLTK_VERSION) is too old." else - ok + ok $FLTK_VERSION fi use=