From f8c7b0728e2ca16221f56c7b5b571d30675f6bdd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 7 Jul 2008 15:49:50 +0100 Subject: [PATCH] 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 --- configure | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.39.5