Final touches to OSMesa OpenGL support on Atari, using loadable libraries. Hope SDL 1.2.8 is out soon.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40992
This commit is contained in:
Patrice Mandin 2004-11-26 16:16:50 +00:00
parent 154c8f584c
commit a9ce9ef9a9
6 changed files with 537 additions and 131 deletions

View file

@ -28,7 +28,7 @@ case "$target" in
MATHLIB=""
SYS_GL_LIBS="-lGL"
;;
*-*-darwin* | *-*-mint* )
*-*-darwin* )
MATHLIB=""
SYS_GL_LIBS=""
;;
@ -38,6 +38,18 @@ case "$target" in
fi
SYS_GL_LIBS=""
;;
*-*-mint*)
MATHLIB=""
AC_PATH_PROG(OSMESA_CONFIG, osmesa-config, no)
if test "x$OSMESA_CONFIG" = "xyes"; then
OSMESA_CFLAGS=`$OSMESA_CONFIG --cflags`
OSMESA_LIBS=`$OSMESA_CONFIG --libs`
CFLAGS="$CFLAGS $OSMESA_CFLAGS"
SYS_GL_LIBS="$OSMESA_LIBS"
else
SYS_GL_LIBS="-lOSMesa"
fi
;;
*)
MATHLIB="-lm"
AC_PATH_X