gambas-source-code/gb.opengl/configure.ac
Laurent Carlier 6c3d840326 [GB.OPENGL]
* NEW: Add a GL_INTERFACE, Init must be called when an openGL context is created
  to properly initialize gb.opengl component.

Some cleanup too, no more needs for testing glx and context creation inside gb.opengl
component, all init will be done through Init call.


git-svn-id: svn://localhost/gambas/trunk@2522 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 22:48:26 +00:00

21 lines
457 B
Text

dnl ---- configure.ac for gb.opengl
AC_INIT(configure.ac)
AC_CONFIG_MACRO_DIR([m4])
GB_INIT(gb.opengl)
AC_PROG_LIBTOOL
GB_COMPONENT(
opengl,
OPENGL,
[OpenGL support component],
[src],
[GB_FIND(gl.h glu.h glew.h, /usr /usr/X11R6 /usr/local, include include/GL)],
[GB_FIND(libGL.$SHLIBEXT libGLU.$SHLIBEXT libGLEW.$SHLIBEXT, /usr /usr/X11R6 /usr/local, lib)],
[-lGL -lGLU -lGLEW])
AC_OUTPUT( \
Makefile \
src/Makefile \
src/glsl/Makefile \
)