cleanup in configure
This commit is contained in:
parent
2d66b9a8b8
commit
f93171ae89
|
@ -70,14 +70,14 @@ int main(int argc, char **argv)
|
||||||
EOF
|
EOF
|
||||||
echo $cc
|
echo $cc
|
||||||
echo -n "Checking test build...("
|
echo -n "Checking test build...("
|
||||||
echo -n $cc /tmp/sdl-test.c $ops `sdl-config --cflags` `sdl-config --libs` -lSDL_ttf -lSDL_mixer -lSDL_image -o /tmp/sdl-test
|
echo -n $cc /tmp/sdl-test.c $ops `sdl-config --cflags` `sdl-config --libs` -lSDL_ttf -lSDL_mixer -lSDL_image -o /tmp/sdl-test ")..."
|
||||||
if ! $cc /tmp/sdl-test.c $ops `sdl-config --cflags` `sdl-config --libs` -lSDL_ttf -lSDL_mixer -lSDL_image -o /tmp/sdl-test; then
|
if ! $cc /tmp/sdl-test.c $ops `sdl-config --cflags` `sdl-config --libs` -lSDL_ttf -lSDL_mixer -lSDL_image -o /tmp/sdl-test; then
|
||||||
echo ") failed".
|
echo "failed".
|
||||||
echo "Please sure if these development packages are installed: sdl, sdl_ttf, sdl_mixer, sdl_image."
|
echo "Please sure if these development packages are installed: sdl, sdl_ttf, sdl_mixer, sdl_image."
|
||||||
rm -f /tmp/sdl-test.c /tmp/sdl-test
|
rm -f /tmp/sdl-test.c /tmp/sdl-test
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo ") ok"
|
echo "ok"
|
||||||
rm -f /tmp/sdl-test.c /tmp/sdl-test
|
rm -f /tmp/sdl-test.c /tmp/sdl-test
|
||||||
if ! make clean >/dev/null 2>&1; then
|
if ! make clean >/dev/null 2>&1; then
|
||||||
echo " * Warning!!! Can not do make clean..."
|
echo " * Warning!!! Can not do make clean..."
|
||||||
|
|
Reference in a new issue