test/configure.in
changeset 991 12b13601a544
parent 981 8ba1b9cf9f12
child 1367 e440d5c488c1
equal deleted inserted replaced
990:8e20c48a9c13 991:12b13601a544
    26         ;;
    26         ;;
    27     *-*-beos*)
    27     *-*-beos*)
    28         MATHLIB=""
    28         MATHLIB=""
    29         SYS_GL_LIBS="-lGL"
    29         SYS_GL_LIBS="-lGL"
    30         ;;
    30         ;;
    31     *-*-darwin* | *-*-mint* )
    31     *-*-darwin* )
    32         MATHLIB=""
    32         MATHLIB=""
    33         SYS_GL_LIBS=""
    33         SYS_GL_LIBS=""
    34         ;;
    34         ;;
    35     *-*-aix*)
    35     *-*-aix*)
    36         if test x$ac_cv_prog_gcc = xyes; then
    36         if test x$ac_cv_prog_gcc = xyes; then
    37             CFLAGS="-mthreads"
    37             CFLAGS="-mthreads"
    38         fi
    38         fi
    39         SYS_GL_LIBS=""
    39         SYS_GL_LIBS=""
    40         ;;
    40         ;;
       
    41     *-*-mint*)
       
    42         MATHLIB=""
       
    43         AC_PATH_PROG(OSMESA_CONFIG, osmesa-config, no)
       
    44         if test "x$OSMESA_CONFIG" = "xyes"; then
       
    45             OSMESA_CFLAGS=`$OSMESA_CONFIG --cflags`
       
    46             OSMESA_LIBS=`$OSMESA_CONFIG --libs`
       
    47             CFLAGS="$CFLAGS $OSMESA_CFLAGS"
       
    48             SYS_GL_LIBS="$OSMESA_LIBS"
       
    49         else
       
    50             SYS_GL_LIBS="-lOSMesa"
       
    51         fi
       
    52 		;;
    41     *)
    53     *)
    42         MATHLIB="-lm"
    54         MATHLIB="-lm"
    43         AC_PATH_X
    55         AC_PATH_X
    44         AC_PATH_XTRA
    56         AC_PATH_XTRA
    45         if test x$have_x = xyes; then
    57         if test x$have_x = xyes; then