Add a check for OpenGLU. bug #720

Originally committed to SVN as r2207.
This commit is contained in:
Amar Takhar 2008-06-21 16:14:13 +00:00
parent a7e8d0e535
commit f1c89cb4bc

View file

@ -197,6 +197,16 @@ if test "$agi_with_opengl" = "no"; then
AC_MSG_FAILURE([Please install a working OpenGL library.])
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