You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mlt/src/modules/jackrack/configure

32 lines
820 B

#!/bin/sh
if [ "$help" != "1" ]
then
pkg-config jack
disable_jack=$?
which xml2-config > /dev/null 2>&1
disable_xml2=$?
disable_ladspa=1
ladspa_prefix=`which listplugins 2> /dev/null`
if [ "$ladspa_prefix" != "" ]
then
ladspa_prefix=`dirname "$ladspa_prefix"`
disable_ladspa=`[ -f "$ladspa_prefix/include/ladspa.h" ] && echo 1 || echo 0`
fi
if [ "$disable_jack" = "0" -a "$disable_xml2" = "0" -a "$disable_ladspa" = "0" ]
then
echo "jackrack libmltjackrack$LIBSUF" >> ../filters.dat
echo "ladspa libmltjackrack$LIBSUF" >> ../filters.dat
else
[ "$disable_jack" = "1" ] && echo "- jackrack not found: disabling"
[ "$disable_xml2" = "1" ] && echo "- xml2 not found: disabling jackrack"
[ "$disable_ladspa" = "1" ] && echo "- ladspa not found; disabling"
touch ../disable-jackrack
fi
fi