| | |
| | | GLES2LIB |
| | | GLESLIB |
| | | GLLIB |
| | | OPENGL_TARGETS |
| | | OPENGLES2_TARGETS |
| | | OPENGLES1_TARGETS |
| | | CPP |
| | | XMKMF |
| | | SDL_CONFIG |
| | |
| | | MATHLIB="" |
| | | SYS_GL_LIBS="" |
| | | ;; |
| | | *-*-riscos* ) |
| | | EXE=",e1f" |
| | | MATHLIB="" |
| | | SYS_GL_LIBS="" |
| | | ;; |
| | | *) |
| | | ISUNIX="true" |
| | | EXE="" |
| | |
| | | /* end confdefs.h. */ |
| | | |
| | | #include "SDL_opengl.h" |
| | | #ifndef SDL_VIDEO_OPENGL |
| | | #error SDL_VIDEO_OPENGL |
| | | #endif |
| | | |
| | | int |
| | | main () |
| | |
| | | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| | | /* end confdefs.h. */ |
| | | |
| | | #if defined (__IPHONEOS__) |
| | | #include <OpenGLES/ES1/gl.h> |
| | | #else |
| | | #include <GLES/gl.h> |
| | | #endif /* __QNXNTO__ */ |
| | | #include "SDL_opengles.h" |
| | | #ifndef SDL_VIDEO_OPENGL_ES |
| | | #error SDL_VIDEO_OPENGL_ES |
| | | #endif |
| | | |
| | | int |
| | | main () |
| | |
| | | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| | | /* end confdefs.h. */ |
| | | |
| | | #if defined (__IPHONEOS__) |
| | | #include <OpenGLES/ES2/gl.h> |
| | | #include <OpenGLES/ES2/glext.h> |
| | | #else |
| | | #include <GLES2/gl2.h> |
| | | #include <GLES2/gl2ext.h> |
| | | #include "SDL_opengles2.h" |
| | | #ifndef SDL_VIDEO_OPENGL_ES2 |
| | | #error SDL_VIDEO_OPENGL_ES2 |
| | | #endif |
| | | |
| | | int |
| | |
| | | GLLIB="" |
| | | GLESLIB="" |
| | | GLES2LIB="" |
| | | OPENGLES1_TARGETS="UNUSED" |
| | | OPENGLES2_TARGETS="UNUSED" |
| | | OPENGL_TARGETS="UNUSED" |
| | | if test x$have_opengles = xyes; then |
| | | CFLAGS="$CFLAGS -DHAVE_OPENGLES" |
| | | GLESLIB="$XPATH -lGLESv1_CM" |
| | | OPENGLES1_TARGETS="TARGETS" |
| | | fi |
| | | if test x$have_opengles2 = xyes; then |
| | | CFLAGS="$CFLAGS -DHAVE_OPENGLES2" |
| | | #GLES2LIB="$XPATH -lGLESv2" |
| | | OPENGLES2_TARGETS="TARGETS" |
| | | fi |
| | | if test x$have_opengl = xyes; then |
| | | CFLAGS="$CFLAGS -DHAVE_OPENGL" |
| | | GLLIB="$XPATH $SYS_GL_LIBS" |
| | | OPENGL_TARGETS="TARGETS" |
| | | fi |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTF_Init in -lSDL2_ttf" >&5 |
| | | $as_echo_n "checking for TTF_Init in -lSDL2_ttf... " >&6; } |
| | | if ${ac_cv_lib_SDL2_ttf_TTF_Init+:} false; then : |