Timeline: Simplify fade application/avoid cast to long type.
[nondaw.git] / session-manager / configure
blob6e281b6b40d5bf917c224d0458f73acca492b487
1 #!/bin/sh
3 # Copyright (C) 2008 Jonathan Moore Liles
4 # This file is licensed under version 2 of the GPL.
6 . scripts/config-funcs
8 begin
10 begin_options
12 ask "Installation prefix" prefix /usr/local
13 ask "Build for debugging" USE_DEBUG no
15 begin_tests
17 require_command ar ar
18 require_command makedepend makedepend
19 require_FLTK 1.3.0 images
20 require_command FLUID lib/ntk/fluid/fluid
21 suggest_package JACK 0.103.0 jack
22 require_package liblo 0.23 liblo
23 require_package sigcpp 2.0.0 sigc++-2.0
24 suggest_package XPM 2.0.0 xpm
26 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"
28 end
30 if ! hostname_resolvable
31 then
32 echo "Your hostname \"$(hostname)\" does not resolve to a valid address."
33 echo "This is a broken configuration and will cause liblo (the"
34 echo "OSC library) to fail to function. Add the line:"
35 echo
36 echo "127.0.0.1 $(hostname)"
37 echo
38 echo "to your /etc/hosts file to fix. And consider switching to a saner distribution."
39 echo
40 fail "Invalid hostname!"