Fix configure.ac - cannot remove the renderer=opengl variable just yet!

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@495 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2006-07-22 23:32:49 +00:00
parent 5bdfeec464
commit 0c376b9854
1 changed files with 1 additions and 7 deletions

View File

@ -49,13 +49,6 @@ else
AC_MSG_RESULT([no])
fi
# --without-opengl will build without opengl
# OpenGL is not anymore an option
# At least till we got a working software renderer
#AC_ARG_WITH(opengl,
#[ --with-opengl use OpenGL to accelerate graphics [[auto]]],
#[ opengl=$withval ], [ opengl=maybe ])
# --without-openal will build without OpenAL
# Commented out as OpenAL is not curently an option,
# but it will need to become optional someday.
@ -161,6 +154,7 @@ AC_MSG_CHECKING([OpenGL])
if test "x$opengl" = "xyes" ; then
AC_DEFINE(WZ_OPENGL, 1, [OpenGL acceleration])
WZ_LIBS="${WZ_LIBS} -l${GLLIB} -l${GLULIB}"
AC_SUBST(RENDERER, "ivis_opengl")
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])