WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] ioemu: Improve SDL openGL configure-scrip

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] ioemu: Improve SDL openGL configure-script detection.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Mar 2008 05:40:59 -0700
Delivery-date: Thu, 20 Mar 2008 05:45:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205884885 0
# Node ID 0901aec1d00b685a0922e916ea9a8e60ea14b8ca
# Parent  eee1bbb0e9f557c0d412bbada48369213dfc9df7
ioemu: Improve SDL openGL configure-script detection.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/ioemu/configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r eee1bbb0e9f5 -r 0901aec1d00b tools/ioemu/configure
--- a/tools/ioemu/configure     Tue Mar 18 21:05:47 2008 +0000
+++ b/tools/ioemu/configure     Wed Mar 19 00:01:25 2008 +0000
@@ -546,13 +546,13 @@ if test -z "$opengl" && test "$sdl" = "y
 if test -z "$opengl" && test "$sdl" = "yes"
 then
 cat > $TMPC << EOF
-#include <GL/gl.h>
+#include <SDL_opengl.h>
 #ifndef GL_TEXTURE_RECTANGLE_ARB
 #error "Opengl doesn't support GL_TEXTURE_RECTANGLE_ARB"
 #endif
 int main( void ) { return (int) glGetString(GL_EXTENSIONS); }
 EOF
-if $cc -o $TMPE $TMPC -lGL 2> /dev/null
+if $cc -o $TMPE `$sdl_config --cflags --libs 2> /dev/null` -I/usr/include/GL 
$TMPC -lXext -lGL 2> /dev/null
 then
 opengl="yes"
 else

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] ioemu: Improve SDL openGL configure-script detection., Xen patchbot-unstable <=