Add check for GL/GLU library

Requested by yugami:
> might I suggest explicitly including libGL as well as libpng.
> One of the previous builders errors needed that explicitly added in
This commit is contained in:
Roland Lutz 2015-03-02 18:54:06 +01:00
parent afdf3145b2
commit 3b4897c833

View File

@ -102,6 +102,20 @@ AC_CHECK_HEADERS(
[png.h], [],
[AC_MSG_ERROR([Cannot find png.h])])
AC_CHECK_LIB(
[GL], [glVertex2d], [],
[AC_MSG_ERROR([Cannot find -lGL])])
AC_CHECK_HEADERS(
[GL/gl.h], [],
[AC_MSG_ERROR([Cannot find GL/gl.h])])
AC_CHECK_LIB(
[GLU], [gluTessVertex], [],
[AC_MSG_ERROR([Cannot find -lGLU])])
AC_CHECK_HEADERS(
[GL/glu.h], [],
[AC_MSG_ERROR([Cannot find GL/glu.h])])
##
## FLTK
##