[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH][RFC] Fix SDL on evdev hosts
From: |
malc |
Subject: |
Re: [Qemu-devel] [PATCH][RFC] Fix SDL on evdev hosts |
Date: |
Tue, 10 Mar 2009 22:16:22 +0300 (MSK) |
On Mon, 9 Mar 2009, Anthony Liguori wrote:
> malc wrote:
> > > +
> > > ##########################################
> > > # VNC TLS detection
> > > if test "$vnc_tls" = "yes" ; then
> > > @@ -1393,6 +1409,8 @@ if test "$sdl1" = "yes" ; then
> > > echo "CONFIG_SDL=yes" >> $config_mak
> > > if test "$target_softmmu" = "no" -o "$static" = "yes"; then
> > > echo "SDL_LIBS=$sdl_static_libs" >> $config_mak
> > > + elif test "$sdl_x11" = "yes" ; then
> > > + echo "SDL_LIBS=`$sdl_config --libs` -lX11" >> $config_mak
> > >
> > ^^^^^ this broke the
> > build over here, X11 on this box with this installation of OS and
> > X puts libX11 into /usr/X11R6/lib.
> >
>
> This is a non-Linux unix, right? Is the X install actually xfree86?
This is a Linux.
~$ sed -n 2p /var/log/Xorg.0.log
X Window System Version 6.9.0
>
> We can either add the -lX11 flag to the build test which would effectively
> disable this code on your system or we could add a hard coded /usr/X11R6/lib
> to the search path. In general, I don't know of a way to detect the location
> of X11 :-/
Nowadays it's either /usr/lib/libX11* or /usr/X11R6/lib/libX11* a simple
test for the latter should probably suffice.
>
> If it's not xfree86 though, the code probably isn't useful anyway in which
> case, we can just disable it.
--
mailto:address@hidden