From: Ryan Flegel Date: Tue, 11 May 2004 01:18:38 +0000 (+0000) Subject: - moved -lGL to it's proper place X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c4ef250cd5985d1ef8494ac280e34ee2a16e08b6;p=supertux.git - moved -lGL to it's proper place SVN-Revision: 1100 --- 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]))