2007-12-30 17:41:49 +01:00
|
|
|
dnl ---- configure.ac for gb.opengl
|
|
|
|
|
|
|
|
AC_INIT(configure.ac)
|
2009-08-17 00:07:48 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2007-12-30 17:41:49 +01:00
|
|
|
GB_INIT(gb.opengl)
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
2009-12-24 12:34:17 +01:00
|
|
|
GB_COMPONENT(
|
2007-12-30 17:41:49 +01:00
|
|
|
opengl,
|
|
|
|
OPENGL,
|
2009-06-02 23:19:45 +02:00
|
|
|
[OpenGL support component],
|
2007-12-30 17:41:49 +01:00
|
|
|
[src],
|
2011-06-15 22:55:01 +02:00
|
|
|
[GB_FIND(gl.h glew.h, /opt/local /usr /usr/X11R6 /usr/local, include/GL include)],
|
2011-04-01 11:15:55 +02:00
|
|
|
[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])
|
2007-12-30 17:41:49 +01:00
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
2011-04-01 11:15:55 +02:00
|
|
|
src/glu/Makefile \
|
2009-12-24 12:34:17 +01:00
|
|
|
src/glsl/Makefile \
|
2007-12-30 17:41:49 +01:00
|
|
|
)
|
2010-07-14 03:50:18 +02:00
|
|
|
|
|
|
|
GB_PRINT_MESSAGES
|