# this works as a bash include
# caller will evaluate $?
#
# GD required in Blast.pm
#
perl -e '
  use GD;
  if($GD::VERSION<1.20){ exit 1 }
  '
x=`which xdformat`
if [ -z "$x" ] || [ ! -x "$x" ] ; then
  return 1
fi
x=`which xdget`
if [ -z "$x" ] || [ ! -x "$x" ] ; then
  return 1
fi
perl -e '
  use MainLib::Path;
  if (! -x $MainLib::Path::DirWublast) { exit 1 }
  '
