filter_dust.yml: apply description fix patch from Mads Dydensborg.
[melted] / src / modules / vorbis / configure
index 1b2accb..2f8c117 100755 (executable)
@@ -3,9 +3,14 @@
 if [ "$help" != "1" ]
 then
 
-cat << EOF >> ../producers.dat
-vorbis         libmltvorbis$LIBSUF
-EOF
+       pkg-config vorbisfile 2> /dev/null
+       disable_vorbis=$?
 
+       if [ "$disable_vorbis" != "0" ]
+       then
+               echo "- ogg vorbis not found: disabling"
+               touch ../disable-vorbis
+       fi
+       exit 0
 fi