Mercurial > jwe > octave
diff configure.ac @ 22823:e2afee0041bf
new configure option, --without-qscintilla
* configure.ac: New option, --without-qscintilla.
* acinclude.m4 (OCTAVE_CHECK_QSCINTILLA): New macro, extracted from
OCTAVE_CHECK_QT_VERSION.
(OCTAVE_CHECK_QT_VERSION): Use OCTAVE_CHECK_QSCINTILLA.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 23 Nov 2016 14:47:14 -0500 |
parents | 57e82b74f89b |
children | 60405b73e439 |
line wrap: on
line diff
--- a/configure.ac Wed Nov 23 14:00:56 2016 -0800 +++ b/configure.ac Wed Nov 23 14:47:14 2016 -0500 @@ -1776,6 +1776,15 @@ ;; esac]) +check_qscintilla=yes +AC_ARG_WITH([qscintilla], + [AS_HELP_STRING([--without-qscintilla], [disable QScintilla editor])], + [if test x"$withval" = xno; then + check_qscintilla=no + warn_qscintilla_disabled="--without-qscintilla specified. The GUI editor will be disabled." + OCTAVE_CONFIGURE_WARNING([warn_qscintilla_disabled]) + fi]) + OCTAVE_CHECK_QT([$QT_VERSIONS]) ## Check for FLTK (www.fltk.org) library