More build system tweaks.

This commit is contained in:
Jonathan Moore Liles 2012-03-07 18:22:37 -08:00
parent ed908d4bcb
commit 376f863833
2 changed files with 4 additions and 4 deletions

View File

@ -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."

2
sequencer/configure vendored
View File

@ -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