From: Ian Jackson Date: Mon, 7 Jul 2008 14:49:50 +0000 (+0100) Subject: ioemu: SDL rendering using OpenGL (lost fragment) X-Git-Tag: xen-3.3.0-rc1~56 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f8c7b0728e2ca16221f56c7b5b571d30675f6bdd;p=qemu-xen-3.3-testing.git ioemu: SDL rendering using OpenGL (lost fragment) Lost fragment of xen-unstable c/s 17225. Thanks to Samuel Thibault for checking. Signed-off-by: Stefano Stabellini Signed-off-by: Ian Jackson --- diff --git a/configure b/configure index cf0badd8..b88e3a8a 100755 --- a/configure +++ b/configure @@ -825,6 +825,7 @@ echo "SDL support $sdl" if test "$sdl" != "no" ; then echo "SDL static link $sdl_static" fi +echo "OpenGL support $opengl" echo "curses support $curses" echo "mingw32 support $mingw32" echo "Adlib support $adlib" @@ -1100,6 +1101,14 @@ if test "$sdl1" = "yes" ; then echo "SDL_CFLAGS=`$sdl_config --cflags`" >> $config_mak fi fi +if test $opengl = "yes" +then + echo "#define CONFIG_OPENGL 1" >> $config_h + echo "CONFIG_OPENGL=yes" >> $config_mak + echo "SDL_CFLAGS+=-I/usr/include/GL" >> $config_mak + echo "SDL_LIBS+=-lXext" >> $config_mak + echo "SDL_LIBS+=-lGL" >> $config_mak +fi if test "$cocoa" = "yes" ; then echo "#define CONFIG_COCOA 1" >> $config_h echo "CONFIG_COCOA=yes" >> $config_mak