Added dependency check for libglu to configuration step.

This commit is contained in:
Happy-Ferret 2016-03-04 18:36:44 +01:00
parent 225b23302a
commit 8356018099
1 changed files with 5 additions and 0 deletions

View File

@ -102,8 +102,13 @@ else
fi
AC_CHECK_LIB(MesaGL, glBegin, have_MesaGL=yes, , $GTK_LIBS $GL_LDOPTS)
AC_CHECK_HEADER(GL/glu.h, have_GLU="yes", have_GLU="no")
AC_CHECK_LIB(GL, glBegin, have_GL=yes, , $GTK_LIBS $GL_LDOPTS)
if test "$have_GLU" = "no" ; then
AC_MSG_ERROR([Missing OpenGL utility library])
fi
if test "$with_lib_GL" = "yes" ; then
# Want to use '-lGL'
if test "$have_GL" = "yes" ; then