X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fwestley%2Fconfigure;h=65cbb5f13217c8512119e6f285d055627b4cc877;hb=4bab66b2e702520181e5019632a921615557bf18;hp=ac2e83f485092ac55e20746c1dfbee9568cced88;hpb=42e3082637998150a8dc0251c5b846f78e1d4772;p=melted diff --git a/src/modules/westley/configure b/src/modules/westley/configure index ac2e83f..65cbb5f 100755 --- a/src/modules/westley/configure +++ b/src/modules/westley/configure @@ -3,13 +3,17 @@ 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