comparison test/configure.in @ 978:3b1ba22f5a28

Add support for OpenGL on Atari using OSMesa, the offscreen rendering driver from Mesa
author Patrice Mandin <patmandin@gmail.com>
date Wed, 17 Nov 2004 23:13:15 +0000
parents dec19b813b04
children 8ba1b9cf9f12
comparison
equal deleted inserted replaced
977:9c55b00f8251 978:3b1ba22f5a28
3 3
4 dnl Setup for automake 4 dnl Setup for automake
5 SDL_VERSION=1.2.7 5 SDL_VERSION=1.2.7
6 6
7 dnl Detect the canonical host and target build environment 7 dnl Detect the canonical host and target build environment
8 AC_CANONICAL_HOST 8 AC_CANONICAL_SYSTEM
9 AC_CANONICAL_TARGET
10 9
11 dnl Setup for automake 10 dnl Setup for automake
12 AM_INIT_AUTOMAKE(SDL_tests, $SDL_VERSION) 11 AM_INIT_AUTOMAKE(SDL_tests, $SDL_VERSION)
13 12
14 dnl Check for tools 13 dnl Check for tools
34 SYS_GL_LIBS="" 33 SYS_GL_LIBS=""
35 ;; 34 ;;
36 *-*-aix*) 35 *-*-aix*)
37 if test x$ac_cv_prog_gcc = xyes; then 36 if test x$ac_cv_prog_gcc = xyes; then
38 CFLAGS="-mthreads" 37 CFLAGS="-mthreads"
39 fi 38 fi
40 SYS_GL_LIBS="" 39 SYS_GL_LIBS=""
40 ;;
41 *-*-mint*)
42 MATHLIB="-lm"
43 SYS_GL_LIBS="-lOSMesa"
41 ;; 44 ;;
42 *) 45 *)
43 MATHLIB="-lm" 46 MATHLIB="-lm"
44 AC_PATH_X 47 AC_PATH_X
45 AC_PATH_XTRA 48 AC_PATH_XTRA