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
7
configure
vendored
7
configure
vendored
@ -893,8 +893,7 @@ sdl_too_old=no
|
|||||||
|
|
||||||
if test "$sdl" = "yes" ; then
|
if test "$sdl" = "yes" ; then
|
||||||
sdl=no
|
sdl=no
|
||||||
|
cat > $TMPC << EOF
|
||||||
cat > $TMPC << EOF
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#undef main /* We don't want SDL to override our main() */
|
#undef main /* We don't want SDL to override our main() */
|
||||||
int main( void ) { return SDL_Init (SDL_INIT_VIDEO); }
|
int main( void ) { return SDL_Init (SDL_INIT_VIDEO); }
|
||||||
@ -913,13 +912,11 @@ EOF
|
|||||||
|
|
||||||
# static link with sdl ?
|
# static link with sdl ?
|
||||||
if test "$sdl" = "yes" -a "$static" = "yes" ; then
|
if test "$sdl" = "yes" -a "$static" = "yes" ; then
|
||||||
aa="no"
|
|
||||||
sdl_libs=`sdl-config --static-libs 2>/dev/null`
|
sdl_libs=`sdl-config --static-libs 2>/dev/null`
|
||||||
if test `sdl-config --static-libs 2>/dev/null | grep \\\-laa > /dev/null` ; then
|
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_libs="$sdl_libs `aalib-config --static-libs >2 /dev/null`"
|
||||||
sdl_cflags="$sd_cflags `aalib-config --cflags >2 /dev/null`"
|
sdl_cflags="$sd_cflags `aalib-config --cflags >2 /dev/null`"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $cc -o $TMPE ${OS_CFLAGS} $sdl_cflags $TMPC $sdl_libs > /dev/null 2> /dev/null; then
|
if $cc -o $TMPE ${OS_CFLAGS} $sdl_cflags $TMPC $sdl_libs > /dev/null 2> /dev/null; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
@ -930,7 +927,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$sdl" = "yes" ; then
|
if test "$sdl" = "yes" ; then
|
||||||
cat > $TMPC <<EOF
|
cat > $TMPC <<EOF
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#if defined(SDL_VIDEO_DRIVER_X11)
|
#if defined(SDL_VIDEO_DRIVER_X11)
|
||||||
#include <X11/XKBlib.h>
|
#include <X11/XKBlib.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user