indent with 2 spaces sdl tests
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
1ac88f28dd
commit
ac119f9d0c
|
@ -893,8 +893,7 @@ sdl_too_old=no
|
|||
|
||||
if test "$sdl" = "yes" ; then
|
||||
sdl=no
|
||||
|
||||
cat > $TMPC << EOF
|
||||
cat > $TMPC << EOF
|
||||
#include <SDL.h>
|
||||
#undef main /* We don't want SDL to override our main() */
|
||||
int main( void ) { return SDL_Init (SDL_INIT_VIDEO); }
|
||||
|
@ -913,13 +912,11 @@ EOF
|
|||
|
||||
# static link with sdl ?
|
||||
if test "$sdl" = "yes" -a "$static" = "yes" ; then
|
||||
aa="no"
|
||||
sdl_libs=`sdl-config --static-libs 2>/dev/null`
|
||||
if test `sdl-config --static-libs 2>/dev/null | grep \\\-laa > /dev/null` ; then
|
||||
sdl_libs="$sdl_libs `aalib-config --static-libs >2 /dev/null`"
|
||||
sdl_cflags="$sd_cflags `aalib-config --cflags >2 /dev/null`"
|
||||
fi
|
||||
|
||||
if $cc -o $TMPE ${OS_CFLAGS} $sdl_cflags $TMPC $sdl_libs > /dev/null 2> /dev/null; then
|
||||
:
|
||||
else
|
||||
|
@ -930,7 +927,7 @@ EOF
|
|||
fi
|
||||
|
||||
if test "$sdl" = "yes" ; then
|
||||
cat > $TMPC <<EOF
|
||||
cat > $TMPC <<EOF
|
||||
#include <SDL.h>
|
||||
#if defined(SDL_VIDEO_DRIVER_X11)
|
||||
#include <X11/XKBlib.h>
|
||||
|
|
Loading…
Reference in New Issue