X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsdl%2Fconfigure;h=53bafdd6c34f8f01d6c8acbbfc76f996db078622;hb=f12b45a62e34d34dbf2f800431dd0cb9f4c39c80;hp=e7572ca5a4810d80bd0821edab897eaefa120a40;hpb=42e3082637998150a8dc0251c5b846f78e1d4772;p=melted diff --git a/src/modules/sdl/configure b/src/modules/sdl/configure index e7572ca..53bafdd 100755 --- a/src/modules/sdl/configure +++ b/src/modules/sdl/configure @@ -3,9 +3,18 @@ if [ "$help" != "1" ] then -cat << EOF >> ../consumers.dat -sdl libmltsdl.so -EOF + sdl-config --version > /dev/null 2>&1 + disable_sdl=$? + + if [ "$disable_sdl" == "0" ] + then + echo "sdl libmltsdl$LIBSUF" >> ../consumers.dat + echo "sdl_preview libmltsdl$LIBSUF" >> ../consumers.dat + echo "sdl_still libmltsdl$LIBSUF" >> ../consumers.dat + else + echo "- sdl development libs not found: disabling" + touch ../disable-sdl + fi fi