# HG changeset patch # User John W. Eaton # Date 1473437843 14400 # Node ID 8924139b4f21673cd67ec1f853693c15e4c38f2f # Parent 8445f67a8123b84eaf6ea98e1076f8fac1d7c8ca fix test for qscintilla (bug #49018) * acinclude.m4 (OCTAVE_CHECK_QT_VERSION): Check for QsciLexerCPP QsciAPIs instead of QsciLexerSQL. diff -r 8445f67a8123 -r 8924139b4f21 m4/acinclude.m4 --- a/m4/acinclude.m4 Thu Sep 08 18:50:43 2016 -0700 +++ b/m4/acinclude.m4 Fri Sep 09 12:17:23 2016 -0400 @@ -1507,9 +1507,11 @@ for octave_qscintilla_try in $octave_qscintilla_libnames; do LIBS="$QT_LIBS -l$octave_qscintilla_try" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - #include + #include + #include ]], [[ - QsciLexerSQL sqlLexer(0); + QsciLexer *lexer = new QsciLexerCPP (); + QsciAPIs *lexer_apis = new QsciAPIs (lexer); ]])], octave_cv_lib_qscintilla="-l$octave_qscintilla_try", octave_cv_lib_qscintilla=no)