Mercurial > octave
changeset 31999:835e9eab3ead
avoid configure script error when using --without-qt (bug #64027)
* configure.ac: In final check for whether to build OpenGL features,
use $build_qt_gui instead of the $build_qt_graphics variable that was
removed in changeset 106c7532a764.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 12 Apr 2023 11:08:13 -0400 |
parents | 4d01a2860f3e |
children | 20bf7bf8c95d |
files | configure.ac |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Wed Apr 12 15:23:05 2023 +0200 +++ b/configure.ac Wed Apr 12 11:08:13 2023 -0400 @@ -2013,8 +2013,11 @@ AC_SUBST(FLTK_LDFLAGS) AC_SUBST(FLTK_LIBS) -### Final determination of whether OpenGL graphics can be built. -if test $build_qt_graphics = no && test $build_fltk_graphics = no; then +### Final determination of whether OpenGL graphics features should +### be built. Note that there is no longer a way to build the Qt GUI +### without also building a Qt widget that uses OpenGL graphics so we +### check $build_qt_gui instead of $build_qt_graphics here. +if test $build_qt_gui = no && test $build_fltk_graphics = no; then opengl_graphics=no else opengl_graphics=yes