2 # Shamelessly stolen from gentoo ebuild
3 cat <<-EOF > config.state
4 CHOICE_debug_VALUE='nodebug'
5 CHOICE_graphics_VALUE='pure'
6 CHOICE_sound_VALUE='mixsdl'
7 INPUT_install_prefix_VALUE='$1'
8 INPUT_install_bindir_VALUE='$2'
9 INPUT_install_libdir_VALUE='$3'
12 # Take out the read so we can be non-interactive.
14 -e '/read CHOICE/d' build/unix/menu_functions || \
15 echo "sed menu_functions failed"