projects
/
melted
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mlt-config-template: add deprecation warning
[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 > config.mak
12
image=`sdl-config --prefix`/include/SDL/SDL_image.h
13
if [ -f "$image" ]
14
then
15
echo "WITH_SDL_IMAGE=1" >> config.mak
16
fi
17
else
18
echo "- sdl development libs not found: disabling"
19
touch ../disable-sdl
20
fi
21
exit 0
22
fi
23