From 89562dd7a94e17cedb24d97104a9944aab15e976 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 21 Mar 2009 10:21:15 +0000 Subject: Added GLU as dependency again --- configure.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 7c3f645..74551a2 100644 --- a/configure.in +++ b/configure.in @@ -104,7 +104,7 @@ dnl *-*-mingw*) HOST_LIBS="-lws2_32 -lz" - HOST_GL_LIBS="-lopengl32" + HOST_GL_LIBS="-lopengl32 -lglu32" HOST_AL_LIBS="-lopenal32" ICON_CLIENT="osirion-res.o" ICON_SERVER="osiriond-res.o" @@ -115,7 +115,7 @@ dnl ;; *) HOST_LIBS="-lz" - HOST_GL_LIBS="-lGL" + HOST_GL_LIBS="-lGL -lGLU" HOST_AL_LIBS="-lopenal" ICON_CLIENT="" ICON_SERVER="" @@ -271,11 +271,19 @@ else [], [AC_MSG_ERROR([OpenGL/gl.h not found])] ) + AC_CHECK_HEADER(OpenGL/glu.h, + [], + [AC_MSG_ERROR([OpenGL/glu.h not found])] + ) else AC_CHECK_HEADER(GL/gl.h, [], [AC_MSG_ERROR([GL/gl.h not found])] ) + AC_CHECK_HEADER(GL/glu.h, + [], + [AC_MSG_ERROR([GL/glu.h not found])] + ) fi LD_FLAGS="$LDFLAGS_save" -- cgit v1.2.3