aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:13:12 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:22 -0500
commit681306dfaa1924dc046746a4b270837fd126716e (patch)
treef6909054f37c946297f191a5609fbc75b26c7986 /configure
parent8ad3a7ddb8fb2f83cf864af610da61e24d7f7f3c (diff)
instead of setup sdl_x11 just add -lX11 to sdl_libs
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure b/configure
index 742e1beea6..6dab802a42 100755
--- a/configure
+++ b/configure
@@ -201,7 +201,6 @@ aix="no"
blobs="yes"
fdt="yes"
sdl="yes"
-sdl_x11="no"
xen="yes"
pkgversion=""
@@ -940,7 +939,7 @@ cat > $TMPC <<EOF
int main(void) { return 0; }
EOF
if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $sdl_cflags $TMPC $sdl_libs > /dev/null 2>&1 ; then
- sdl_x11="yes"
+ sdl_libs="$sdl_libs -lX11"
fi
fi
@@ -1659,8 +1658,6 @@ if test "$sdl1" = "yes" ; then
echo "CONFIG_SDL=y" >> $config_host_mak
if test "$target_softmmu" = "no" -o "$static" = "yes"; then
echo "SDL_LIBS=$sdl_static_libs" >> $config_host_mak
- elif test "$sdl_x11" = "yes" ; then
- echo "SDL_LIBS=$sld_libs -lX11" >> $config_host_mak
else
echo "SDL_LIBS=$sdl_libs`" >> $config_host_mak
fi