Mercurial > octave
comparison configure.ac @ 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 | ff1fed5bf218 |
children | c5b57a82a17c |
comparison
equal
deleted
inserted
replaced
31998:4d01a2860f3e | 31999:835e9eab3ead |
---|---|
2011 | 2011 |
2012 AC_SUBST(FLTK_CPPFLAGS) | 2012 AC_SUBST(FLTK_CPPFLAGS) |
2013 AC_SUBST(FLTK_LDFLAGS) | 2013 AC_SUBST(FLTK_LDFLAGS) |
2014 AC_SUBST(FLTK_LIBS) | 2014 AC_SUBST(FLTK_LIBS) |
2015 | 2015 |
2016 ### Final determination of whether OpenGL graphics can be built. | 2016 ### Final determination of whether OpenGL graphics features should |
2017 if test $build_qt_graphics = no && test $build_fltk_graphics = no; then | 2017 ### be built. Note that there is no longer a way to build the Qt GUI |
2018 ### without also building a Qt widget that uses OpenGL graphics so we | |
2019 ### check $build_qt_gui instead of $build_qt_graphics here. | |
2020 if test $build_qt_gui = no && test $build_fltk_graphics = no; then | |
2018 opengl_graphics=no | 2021 opengl_graphics=no |
2019 else | 2022 else |
2020 opengl_graphics=yes | 2023 opengl_graphics=yes |
2021 fi | 2024 fi |
2022 | 2025 |