Cleanup configure

This commit is contained in:
Jonathan Moore Liles 2008-05-17 22:06:03 -05:00
parent e8571c1bc8
commit 5cb015d6bb
2 changed files with 5 additions and 5 deletions

6
configure vendored
View File

@ -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

View File

@ -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 ()