X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fwestley%2Fconfigure;h=65cbb5f13217c8512119e6f285d055627b4cc877;hb=3b33a072eba3428710b5a1c86409fc99cbb2d2bc;hp=b9715700a574c5d7906a85738afc2c026db2d21c;hpb=520454d526bdcd58f1ac6ab7532dc2529b822808;p=melted diff --git a/src/modules/westley/configure b/src/modules/westley/configure index b971570..65cbb5f 100755 --- a/src/modules/westley/configure +++ b/src/modules/westley/configure @@ -1,15 +1,19 @@ -#!/bin/bash +#!/bin/sh if [ "$help" != "1" ] then -cat << EOF >> ../producers.dat -westley libmltwestley.so -EOF - -cat << EOF >> ../consumers.dat -westley libmltwestley.so -EOF + which xml2-config > /dev/null 2>&1 + disable_xml2=$? + if [ "$disable_xml2" = "0" ] + then + echo "westley libmltwestley$LIBSUF" >> ../producers.dat + echo "westley-xml libmltwestley$LIBSUF" >> ../producers.dat + echo "westley libmltwestley$LIBSUF" >> ../consumers.dat + else + echo "- xml2 not found: disabling westley modules" + touch ../disable-westley + fi fi