More build system tweaks.
This commit is contained in:
parent
ed908d4bcb
commit
376f863833
|
@ -185,7 +185,7 @@ begin ()
|
||||||
echo -n "Checking sanity..."
|
echo -n "Checking sanity..."
|
||||||
require_command tput tput > /dev/null
|
require_command tput tput > /dev/null
|
||||||
require_command pkg-config pkg-config > /dev/null
|
require_command pkg-config pkg-config > /dev/null
|
||||||
require_command fltk-config ../lib/fltk/fltk-config >/dev/null
|
require_command fltk-config lib/fltk/fltk-config >/dev/null
|
||||||
require_command sed sed > /dev/null
|
require_command sed sed > /dev/null
|
||||||
ok
|
ok
|
||||||
}
|
}
|
||||||
|
@ -260,11 +260,11 @@ require_command ()
|
||||||
if [ -x "$2" ]
|
if [ -x "$2" ]
|
||||||
then
|
then
|
||||||
name="$PWD/$2"
|
name="$PWD/$2"
|
||||||
ok
|
ok "$name"
|
||||||
elif [ -x "`which "$2"`" ]
|
elif [ -x "`which "$2"`" ]
|
||||||
then
|
then
|
||||||
name="`which "$2"`"
|
name="`which "$2"`"
|
||||||
ok
|
ok "$name"
|
||||||
else
|
else
|
||||||
failed
|
failed
|
||||||
fatal "Command $1 not found."
|
fatal "Command $1 not found."
|
||||||
|
|
|
@ -17,7 +17,7 @@ begin_tests
|
||||||
require_package JACK 0.103.0 jack
|
require_package JACK 0.103.0 jack
|
||||||
suggest_package XPM 2.0.0 xpm
|
suggest_package XPM 2.0.0 xpm
|
||||||
require_FLTK 1.3.0 images
|
require_FLTK 1.3.0 images
|
||||||
require_command FLUID lib/fltk/fluid/fluid && append "FLUID=lib/fltk/fluid/fluid"
|
require_command FLUID lib/fltk/fluid/fluid
|
||||||
test_version `version_of jack` 0.105.0 || append "JACK_MIDI_PROTO_API=yes"
|
test_version `version_of jack` 0.105.0 || append "JACK_MIDI_PROTO_API=yes"
|
||||||
require_package liblo 0.23 liblo
|
require_package liblo 0.23 liblo
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue