fixes a bug that showed up when you tried to ./configure --without-opengl

This commit is contained in:
Dan Olson 2000-05-02 01:35:13 +00:00
parent 1c51351d95
commit b897ca1d62

View file

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