test/configure.in
changeset 991 12b13601a544
parent 981 8ba1b9cf9f12
child 1367 e440d5c488c1
     1.1 --- a/test/configure.in	Fri Nov 26 16:13:24 2004 +0000
     1.2 +++ b/test/configure.in	Fri Nov 26 16:16:50 2004 +0000
     1.3 @@ -28,7 +28,7 @@
     1.4          MATHLIB=""
     1.5          SYS_GL_LIBS="-lGL"
     1.6          ;;
     1.7 -    *-*-darwin* | *-*-mint* )
     1.8 +    *-*-darwin* )
     1.9          MATHLIB=""
    1.10          SYS_GL_LIBS=""
    1.11          ;;
    1.12 @@ -38,6 +38,18 @@
    1.13          fi
    1.14          SYS_GL_LIBS=""
    1.15          ;;
    1.16 +    *-*-mint*)
    1.17 +        MATHLIB=""
    1.18 +        AC_PATH_PROG(OSMESA_CONFIG, osmesa-config, no)
    1.19 +        if test "x$OSMESA_CONFIG" = "xyes"; then
    1.20 +            OSMESA_CFLAGS=`$OSMESA_CONFIG --cflags`
    1.21 +            OSMESA_LIBS=`$OSMESA_CONFIG --libs`
    1.22 +            CFLAGS="$CFLAGS $OSMESA_CFLAGS"
    1.23 +            SYS_GL_LIBS="$OSMESA_LIBS"
    1.24 +        else
    1.25 +            SYS_GL_LIBS="-lOSMesa"
    1.26 +        fi
    1.27 +		;;
    1.28      *)
    1.29          MATHLIB="-lm"
    1.30          AC_PATH_X