From 637a463496359031650c9806b11b2af7d554c8fe Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Fri, 12 Oct 2001 01:50:09 +0000 Subject: [PATCH] Fix detection of opengl --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index eb9a0eafc..77bc371a4 100644 --- a/configure.in +++ b/configure.in @@ -95,9 +95,10 @@ else if test x$opengl = xtrue; then for lib in $GL_LIBS; do AC_CHECK_LIB($lib, main, - OGL_LIBS="$OGL_LIBS -l$lib", + OGL_LIBS="${OGL_LIBS} -l$lib", [AC_MSG_ERROR([$lib not found, --with-opengl cannot be used]) opengl=false], + ${OGL_LIBS} ) done fi