2008-05-16 21:12:52 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Copyright (C) 2008 Jonathan Moore Liles
|
2008-05-18 04:44:47 +02:00
|
|
|
# This file is licensed under version 2 of the GPL.
|
2008-05-16 21:12:52 +02:00
|
|
|
|
2008-05-18 04:44:47 +02:00
|
|
|
. scripts/config-funcs
|
2008-05-16 21:12:52 +02:00
|
|
|
|
2008-05-18 02:15:39 +02:00
|
|
|
[ $# -gt 0 ] && fatal "This is not an autoconf script. Run it without any options and you will be prompted."
|
|
|
|
|
2008-05-18 04:44:47 +02:00
|
|
|
begin
|
2008-05-16 21:12:52 +02:00
|
|
|
|
2008-05-18 04:44:47 +02:00
|
|
|
begin_options
|
2008-05-16 23:38:07 +02:00
|
|
|
|
2008-05-18 05:06:03 +02:00
|
|
|
ask "Install prefix?" prefix /usr/local
|
|
|
|
ask "Use LASH?" USE_LASH yes
|
|
|
|
ask "Build for debugging?" MAINTAINER_MODE no
|
2008-05-16 23:38:07 +02:00
|
|
|
|
2008-05-18 04:44:47 +02:00
|
|
|
begin_tests
|
2008-05-16 21:12:52 +02:00
|
|
|
|
2008-05-18 04:44:47 +02:00
|
|
|
require_FLTK 1 1 7
|
|
|
|
require_command FLUID fluid
|
|
|
|
require_package JACK 0.103.0 jack
|
|
|
|
require_package libsndfile 1.0.17 sndfile
|
2008-05-16 21:12:52 +02:00
|
|
|
|
2008-05-18 04:44:47 +02:00
|
|
|
[ $USE_LASH = yes ] && require_package LASH 0.5.4 lash-1.0
|
2008-05-16 21:12:52 +02:00
|
|
|
|
2008-05-18 04:44:47 +02:00
|
|
|
end
|