Fix detection of opengl
This commit is contained in:
parent
a0fe572bf2
commit
637a463496
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue