14 lines
456 B
Diff
14 lines
456 B
Diff
Index: configure.ac
|
|
===================================================================
|
|
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -2395,7 +2395,7 @@ else
|
|
|
|
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)"
|