Browse Source

Cleanup configure

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
5cb015d6bb
2 changed files with 5 additions and 5 deletions
  1. +3
    -3
      configure
  2. +2
    -2
      scripts/config-funcs

+ 3
- 3
configure 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



+ 2
- 2
scripts/config-funcs 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 ()


Loading…
Cancel
Save