3 # Copyright (C) 2008 Jonathan Moore Liles
4 # This file is licensed under version 2 of the GPL.
12 echo "Master configuration"
14 ask
"Installation prefix" prefix
/usr
/local
15 ask
"Build for debugging" USE_DEBUG no
19 # should require everything all of the subprojects require
22 require_command makedepend makedepend
23 require_FLTK
1.3.0 images
24 require_command FLUID lib
/ntk
/fluid
/fluid
25 require_package JACK
0.103.0 jack
26 test_version
`version_of jack` 0.105.0 || append
"JACK_MIDI_PROTO_API=yes"
27 require_package sndfile
1.0.17 sndfile
28 require_package lrdf
0.4.0 lrdf
29 require_package liblo
0.23 liblo
30 suggest_package XPM
2.0.0 xpm
31 require_package sigcpp
2.0.0 sigc
++-2.0
33 test_version
`version_of liblo` 0.26 || warn
"Version $(version_of liblo) of liblo is slow to create servers. Consider upgrading to 0.26 or later"
35 if ! hostname_resolvable
37 echo "Your hostname \"$(hostname)\" does not resolve to a valid address."
38 echo "This is a broken configuration and will cause liblo (the"
39 echo "OSC library) to fail to function. Add the line:"
41 echo "127.0.0.1 $(hostname)"
43 echo "to your /etc/hosts file to fix. And consider switching to a saner distribution."
45 fail
"Invalid hostname!"
50 # installing configuration
51 echo -n "Copying configuration to modules..."
53 for i
in nonlib FL timeline mixer sequencer session-manager