Add support for OpenGL on Atari using OSMesa, the offscreen rendering driver from Mesa

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40979
This commit is contained in:
Patrice Mandin 2004-11-17 23:13:15 +00:00
parent 74f380107e
commit e9c344a4a4
5 changed files with 224 additions and 25 deletions

View file

@ -5,8 +5,7 @@ dnl Setup for automake
SDL_VERSION=1.2.7
dnl Detect the canonical host and target build environment
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AC_CANONICAL_SYSTEM
dnl Setup for automake
AM_INIT_AUTOMAKE(SDL_tests, $SDL_VERSION)
@ -36,9 +35,13 @@ case "$target" in
*-*-aix*)
if test x$ac_cv_prog_gcc = xyes; then
CFLAGS="-mthreads"
fi
fi
SYS_GL_LIBS=""
;;
*-*-mint*)
MATHLIB="-lm"
SYS_GL_LIBS="-lOSMesa"
;;
*)
MATHLIB="-lm"
AC_PATH_X