From 5cb015d6bb988e925d68c21f3ad3fe52c3e8ce7d Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sat, 17 May 2008 22:06:03 -0500 Subject: [PATCH] Cleanup configure --- configure | 6 +++--- scripts/config-funcs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 588e851..6d7d7aa 100755 --- a/configure +++ b/configure @@ -11,9 +11,9 @@ begin begin_options -ask "Install prefix?" prefix ${prefix:-/usr/local} -ask "Use LASH?" USE_LASH ${USE_LASH:-yes} -ask "Build for debugging?" MAINTAINER_MODE ${MAINTAINER_MODE:-no} +ask "Install prefix?" prefix /usr/local +ask "Use LASH?" USE_LASH yes +ask "Build for debugging?" MAINTAINER_MODE no begin_tests diff --git a/scripts/config-funcs b/scripts/config-funcs index 6a493a0..92c0663 100644 --- a/scripts/config-funcs +++ b/scripts/config-funcs @@ -20,14 +20,14 @@ ask () default="`eval echo \\$$2`" default=${default:-$3} - echo -n "$BLACK$BOLD::$SGR0 $1 [$BOLD$3$SGR0] " + echo -n "$BLACK$BOLD::$SGR0 $1 [$BOLD${default}$SGR0] " read answer echo "${2}=${answer:-$default}" >> make.conf } ok () { - echo "$BOLD${GREEN}ok${SGR0}." + echo "$BOLD${GREEN}ok${SGR0}" } failed ()