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:
parent
afdf3145b2
commit
3b4897c833
14
configure.ac
14
configure.ac
|
@ -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
|
||||
##
|
||||
|
|
Loading…
Reference in New Issue
Block a user