[GB.OPENGL]

* BUG: Add generic search for libglu, should fix building on Ubuntu Jaunty.



git-svn-id: svn://localhost/gambas/trunk@2016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Laurent Carlier 2009-06-13 18:13:51 +00:00
parent dbaccd820f
commit 2cd20dfc3e

View file

@ -12,13 +12,15 @@ AC_CHECK_HEADER(GL/glx.h,
[ AC_MSG_WARN([glx.h not found. Check 'config.log' for more details.])
touch DISABLED])
GB_COMPONENT_PKG_CONFIG(
GB_COMPONENT_SEARCH(
opengl,
OPENGL,
[OpenGL support component],
[src],
gl glu
)
gl glu,
[GB_FIND(gl.h glu.h, /usr /usr/X11R6 /usr/local, include include/GL)],
[GB_FIND(libGL.$SHLIBEXT libGLU.$SHLIBEXT, /usr /usr/X11R6 /usr/local, lib)],
[-lGL -lGLU])
AC_OUTPUT( \
Makefile \