diff 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
line wrap: on
line diff
--- a/test/configure.in	Mon Nov 15 23:34:56 2004 +0000
+++ b/test/configure.in	Wed Nov 17 23:13:15 2004 +0000
@@ -5,8 +5,7 @@
 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 @@
     *-*-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