From: Ingo Ruhnke Date: Mon, 15 Mar 2004 00:26:00 +0000 (+0000) Subject: - added X11/opengl issue fix X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a7f043719f2d58ac51730317ba0d2551432fd3a0;p=supertux.git - added X11/opengl issue fix SVN-Revision: 228 --- diff --git a/configure.ac b/configure.ac index 3d5347a68..8ff057665 100644 --- a/configure.ac +++ b/configure.ac @@ -88,6 +88,13 @@ fi AC_CHECK_LIB(SDL_image, IMG_Load, ,AC_MSG_ERROR(SDL_image library required)) if test "x${enable_opengl}" != "xno"; then + # grumbel: xlib path is needed on my system to get OpenGL right, + # else I end up with a black screen, might be a debian issue or a + # local issue on my system, not sure + AC_PATH_XTRA + CFLAGS="$CFLAGS $X_CFLAGS" + LDFLAGS="$LDFLAGS $X_LIBS" + AC_CHECK_LIB(GL, glBegin, ,AC_MSG_ERROR(GL library required)) fi