mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-25 05:11:23 +00:00
fixes a bug that showed up when you tried to ./configure --without-opengl
This commit is contained in:
parent
1c51351d95
commit
b897ca1d62
1 changed files with 3 additions and 0 deletions
|
@ -384,6 +384,9 @@ OGL_INCLUDES=$withval, OGL_INCLUDES=auto)
|
|||
if test "x$OGL_INCLUDES" = xno; then
|
||||
HAS_OGL="no"
|
||||
fi
|
||||
if test "x$HAS_OGL" = xno; then
|
||||
OGL_INCLUDES=""
|
||||
fi
|
||||
if test "x$HAS_OGL" != xno; then
|
||||
if test "x$HAS_OGL" != xauto; then
|
||||
OGL_LIBS="$OGL_LIBS -L$HAS_OGL"
|
||||
|
|
Loading…
Reference in a new issue