octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60601] AC_PROG_LEX without either yywrap or n


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60601] AC_PROG_LEX without either yywrap or noyywrap is obsolete
Date: Thu, 13 May 2021 11:29:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #1, bug #60601 (project octave):

I started to apply this change


diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -3819,8 +3819,9 @@ AC_DEFUN([OCTAVE_PROG_FLEX], [
   ## it, and it might not be installed.
   ##
   ## Also make sure that we generate an interactive scanner if we are
-  ## using flex.
-  AC_PROG_LEX
+  ## using flex.  We declare %noyywrap in the lexer files so we use the
+  ## noyywrap option here to skip the search for that function.
+  AC_PROG_LEX(noyywrap)
   case "`$LEX --version`" in
     *flex*)
       LFLAGS="-I"


but then realized that it would force the build to require autoconf 2.70.  Is
that something we want to do?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60601>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]