X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fvorbis%2Fconfigure;h=bfc404327c7f370f98643ec073a2d6a2b1b0d568;hb=34c7916b96a65dbfb6d9414aca781d6292474f98;hp=bf06011a0c7c2925e7aa801af8729bf5ab0e558d;hpb=42e3082637998150a8dc0251c5b846f78e1d4772;p=melted diff --git a/src/modules/vorbis/configure b/src/modules/vorbis/configure index bf06011..bfc4043 100755 --- a/src/modules/vorbis/configure +++ b/src/modules/vorbis/configure @@ -3,9 +3,16 @@ if [ "$help" != "1" ] then -cat << EOF >> ../producers.dat -vorbis libmltvorbis.so -EOF + pkg-config vorbisfile 2> /dev/null + disable_vorbis=$? + + if [ "$disable_vorbis" = "0" ] + then + echo "vorbis libmltvorbis$LIBSUF" >> ../producers.dat + else + echo "- ogg vorbis not found: disabling" + touch ../disable-vorbis + fi fi