X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fwestley%2Fconfigure;h=53aacd25fa97b5384758bf276492264e35080656;hb=16b6d374cf80004b192aae74a55b0452c7ee809d;hp=b9715700a574c5d7906a85738afc2c026db2d21c;hpb=520454d526bdcd58f1ac6ab7532dc2529b822808;p=melted diff --git a/src/modules/westley/configure b/src/modules/westley/configure index b971570..53aacd2 100755 --- a/src/modules/westley/configure +++ b/src/modules/westley/configure @@ -1,15 +1,16 @@ -#!/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 "- xml2 not found: disabling westley modules" + touch ../disable-westley + fi + exit 0 fi