]> git.sesse.net Git - mlt/blobdiff - src/modules/sdl/configure
Move burningtv into plusgpl module.
[mlt] / src / modules / sdl / configure
index 8d2a2049318dd92fe3a0fe8dea4f4c075655a4b3..43b90d9c9265fe5e94dd1c6bc6c4862f88d6e5ab 100755 (executable)
@@ -8,13 +8,16 @@ then
 
        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
+               echo > config.mak
+               image=`sdl-config --prefix`/include/SDL/SDL_image.h
+               if [ -f "$image" ]
+               then
+                       echo "WITH_SDL_IMAGE=1" >> config.mak
+               fi
        else
                echo "- sdl development libs not found: disabling"
                touch ../disable-sdl
        fi
-
+       exit 0
 fi