8d2a2049318dd92fe3a0fe8dea4f4c075655a4b3
[melted] / src / modules / sdl / configure
1 #!/bin/sh
2
3 if [ "$help" != "1" ]
4 then
5
6         sdl-config --version > /dev/null 2>&1
7         disable_sdl=$?
8
9         if [ "$disable_sdl" = "0" ]
10         then
11                 echo "sdl                               libmltsdl$LIBSUF" >> ../consumers.dat
12                 echo "sdl_preview               libmltsdl$LIBSUF" >> ../consumers.dat
13                 echo "sdl_still                 libmltsdl$LIBSUF" >> ../consumers.dat
14         else
15                 echo "- sdl development libs not found: disabling"
16                 touch ../disable-sdl
17         fi
18
19 fi
20