c8bb348d6d0ac18ccc8003c99fe7be0d4ceac2a1
[melted] / src / modules / westley / configure
1 #!/bin/sh
2
3 if [ "$help" != "1" ]
4 then
5
6         which xml2-config > /dev/null 2>&1
7         disable_xml2=$?
8
9         if [ "$disable_xml2" == "0" ]
10         then
11                 echo "westley                   libmltwestley$LIBSUF" >> ../producers.dat
12                 echo "westley-xml               libmltwestley$LIBSUF" >> ../producers.dat
13                 echo "westley                   libmltwestley$LIBSUF" >> ../consumers.dat
14         else
15                 echo "- xml2 not found: disabling westley modules"
16                 touch ../disable-westley
17         fi
18 fi
19