Update NTK submodule.
[nondaw.git] / configure
blob8acb7409d580a46986d393f9dcce3223ed1f1b39
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 echo "Master configuration"
14 ask "Installation prefix" prefix /usr/local
15 ask "Build for debugging" USE_DEBUG no
17 begin_tests
19 # should require everything all of the subprojects require
21 require_command ar ar
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
36 then
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:"
40 echo
41 echo "127.0.0.1 $(hostname)"
42 echo
43 echo "to your /etc/hosts file to fix. And consider switching to a saner distribution."
44 echo
45 fail "Invalid hostname!"
48 end
50 # installing configuration
51 echo -n "Copying configuration to modules..."
53 for i in nonlib FL timeline mixer sequencer session-manager
55 echo -n "$i "
56 cp .config "$i"
57 done
59 echo