--- configure.ac.orig 2019-04-02 14:33:44.229152722 +0200
+++ configure.ac 2019-04-02 14:34:01.573185574 +0200
@@ -2605,7 +2605,7 @@
AC_CHECK_HEADER(GL/glut.h,
AC_CHECK_LIB(glut,main,
- [GLUT_LIBS="$GLUT_LIBS -lglut"
+ [GLUT_LIBS="$GLUT_LIBS -lglut $(pkg-config --libs glu)"
use_glut="Yes"
AC_DEFINE_UNQUOTED(HAVE_GLUT,1,[Define if you have the GLUT library])],
use_glut="No (missing libglut)"