Fix detection of opengl

This commit is contained in:
Bradley Bell 2001-10-12 01:50:09 +00:00
parent a0fe572bf2
commit 637a463496

View file

@ -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