non/mixer/configure

41 lines
1.0 KiB
Plaintext
Raw Normal View History

2008-05-16 21:12:52 +02:00
#!/bin/sh
#
# Copyright (C) 2008 Jonathan Moore Liles
# This file is licensed under version 2 of the GPL.
2008-05-16 21:12:52 +02:00
. scripts/config-funcs
2008-05-16 21:12:52 +02:00
begin
2008-05-16 21:12:52 +02:00
begin_options
2008-05-26 20:44:17 +02:00
ask "Installation prefix" prefix /usr/local
ask "Build for debugging" USE_DEBUG no
begin_tests
2008-05-16 21:12:52 +02:00
require_command ar ar
require_command makedepend makedepend
require_NTK 1.3.0 images
require_package JACK 0.103.0 jack
2010-02-01 07:25:16 +01:00
require_package lrdf 0.4.0 lrdf
2010-01-21 01:33:02 +01:00
require_package liblo 0.23 liblo
suggest_package XPM 2.0.0 xpm
2010-01-21 01:33:02 +01:00
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"
2008-05-16 21:12:52 +02:00
if ! hostname_resolvable
then
echo "Your hostname \"$(hostname)\" does not resolve to a valid address."
echo "This is a broken configuration and will cause liblo (the"
echo "OSC library) to fail to function. Add the line:"
echo
echo "127.0.0.1 $(hostname)"
echo
echo "to your /etc/hosts file to fix. And consider switching to a saner distribution."
echo
fail "Invalid hostname!"
fi
end