changeset 29661:9e670ec38513

* acinclude.m4 (OCTAVE_PROG_FLEX): Pass noyywrap to AC_PROG_LEX. (bug #60601)
author John W. Eaton <jwe@octave.org>
date Thu, 13 May 2021 11:53:54 -0400
parents 1a251fdb97af
children 5ad070a5f19a
files m4/acinclude.m4
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m4/acinclude.m4	Thu May 13 16:43:24 2021 +0200
+++ b/m4/acinclude.m4	Thu May 13 11:53:54 2021 -0400
@@ -3265,7 +3265,9 @@
   ##
   ## Also make sure that we generate an interactive scanner if we are
   ## using flex.
-  AC_PROG_LEX
+dnl We declare %noyywrap in the lexer files so we use the noyywrap
+dnl option here to skip the search for that function.
+  AC_PROG_LEX([noyywrap])
   case "`$LEX --version`" in
     *flex*)
       LFLAGS="-I"