forked from mia/Aegisub
Check for missing OpenGL by inspecting $gl_no rather than GL_LIBS, which could theoretically be empty
Originally committed to SVN as r6068.
This commit is contained in:
parent
96bf33a241
commit
b12b3425e1
1 changed files with 4 additions and 2 deletions
|
@ -350,9 +350,11 @@ AC_CHECK_SIZEOF([time_t])
|
||||||
## OpenGL
|
## OpenGL
|
||||||
#########
|
#########
|
||||||
AX_CHECK_GL
|
AX_CHECK_GL
|
||||||
if test -z "$GL_LIBS"; then
|
|
||||||
AC_MSG_FAILURE([aegisub requires GL support.])
|
if test "$no_gl" = "yes"; then
|
||||||
|
AC_MSG_FAILURE([Aegisub requires GL support.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(GL_CFLAGS)
|
AC_SUBST(GL_CFLAGS)
|
||||||
AC_SUBST(GL_LIBS)
|
AC_SUBST(GL_LIBS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue