f3146d84fd
* BUG: Use pkg-config to detect needed libraries, should fix building on OSX. git-svn-id: svn://localhost/gambas/trunk@3890 867c0c6c-44f3-4631-809d-bfa615b0a4ec
29 lines
414 B
Text
29 lines
414 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_PKG_CONFIG(
|
|
opengl,
|
|
OPENGL,
|
|
[OpenGL support component],
|
|
[src],
|
|
[gl glew])
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
glu,
|
|
GLU,
|
|
[OpenGL Utility support component],
|
|
[glu],
|
|
[glu])
|
|
|
|
AC_OUTPUT( \
|
|
Makefile \
|
|
src/Makefile \
|
|
src/glu/Makefile \
|
|
src/glsl/Makefile \
|
|
)
|
|
|
|
GB_PRINT_MESSAGES
|