Add a check for OpenGLU. bug #720
Originally committed to SVN as r2207.
This commit is contained in:
parent
a7e8d0e535
commit
f1c89cb4bc
1 changed files with 10 additions and 0 deletions
10
configure.in
10
configure.in
|
@ -197,6 +197,16 @@ if test "$agi_with_opengl" = "no"; then
|
||||||
AC_MSG_FAILURE([Please install a working OpenGL library.])
|
AC_MSG_FAILURE([Please install a working OpenGL library.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_AGI_COMPILE([OpenGLU], [openglu], [$GL_CFLAGS], [$GL_LIBS -lGLU],[
|
||||||
|
#include <GL/glu.h>
|
||||||
|
int main(void) {
|
||||||
|
return 0;
|
||||||
|
}])
|
||||||
|
|
||||||
|
if test "$agi_with_openglu" = "no"; then
|
||||||
|
AC_MSG_FAILURE([Please install a working OpenGL GLU library.])
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
###########
|
###########
|
||||||
## Freetype
|
## Freetype
|
||||||
|
|
Loading…
Reference in a new issue