mirror of https://github.com/mcuelenaere/fsv.git
Added dependency check for libglu to configuration step.
This commit is contained in:
parent
225b23302a
commit
8356018099
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue