From a7f043719f2d58ac51730317ba0d2551432fd3a0 Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Mon, 15 Mar 2004 00:26:00 +0000 Subject: [PATCH] - added X11/opengl issue fix SVN-Revision: 228 --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.11.0