From c4ef250cd5985d1ef8494ac280e34ee2a16e08b6 Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Tue, 11 May 2004 01:18:38 +0000 Subject: [PATCH] - moved -lGL to it's proper place SVN-Revision: 1100 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 851c49247..5f2e2441f 100644 --- a/configure.ac +++ b/configure.ac @@ -71,6 +71,7 @@ AM_PATH_SDL($SDL_VERSION, CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" CFLAGS="$CFLAGS $SDL_CFLAGS" LIBS="$LIBS $SDL_LIBS" +GL_LIBS="-lGL" dnl Checks for additional libraries. AC_CHECK_LIB(SDL_mixer, Mix_OpenAudio,, @@ -88,7 +89,7 @@ if test "x$no_gl" = "xyes" -o "x$enable_opengl" = "xno"; then else CFLAGS="$CFLAGS $GL_CFLAGS" CXXFLAGS="$CXXFLAGS $GL_CFLAGS" - LIBS="$LIBS $GL_LIBS -lGL" + LIBS="$LIBS $GL_LIBS" fi AC_CHECK_LIB(z, gzopen,, AC_MSG_ERROR([*** zlib is missing])) -- 2.11.0