50cc5e432c
* NEW: Remove Glu methods from the component. Should help on systems where glu isn't available. also safe a bit of memory when glu isn't mandatory. [GB.OPENGL.GLU] * NEW: New component including Glu functions from the gb.opengl component. git-svn-id: svn://localhost/gambas/trunk@3714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
33 lines
756 B
Text
33 lines
756 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, /opt/local /usr /usr/X11R6 /usr/local, include/GL include)],
|
|
[GB_FIND(libGL.$SHLIBEXT libGLEW.$SHLIBEXT, /opt/local /usr /usr/X11R6 /usr/local, lib)],
|
|
[-lGL -lGLEW])
|
|
|
|
GB_COMPONENT(
|
|
glu,
|
|
GLU,
|
|
[OpenGL Utility support component],
|
|
[glu],
|
|
[GB_FIND(gl.h glu.h, /opt/local /usr /usr/X11R6 /usr/local, include/GL include)],
|
|
[GB_FIND(libGL.$SHLIBEXT libGLU.$SHLIBEXT, /opt/local /usr /usr/X11R6 /usr/local, lib)],
|
|
[-lGLU])
|
|
|
|
AC_OUTPUT( \
|
|
Makefile \
|
|
src/Makefile \
|
|
src/glu/Makefile \
|
|
src/glsl/Makefile \
|
|
)
|
|
|
|
GB_PRINT_MESSAGES
|