[sr #110269] AC_PROG_LEX failing

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Update of sr #110269 (project autoconf):

                  Status:                    None => Done                   

    _______________________________________________________

Follow-up Comment #6:

Thanks for the bug report and detailed analysis. I looked into the commit that
you mentioned, and the problem seems to be that it introduced an AC_MSG_ERROR
which causes 'configure' to fail entirely, whereas what it should do is give
up on 'flex'. In your case you have a cross-build where 'flex' (on your build
platform) is available but the 'flex' library (on your host platform) is not,
and this causes the AC_MSG_ERROR to trigger.

For your particular case I expect it's better for 'configure' to behave as if
'flex' does not exist, so I installed the attached patch into Autoconf master
on Savannah. Please give it a try.

I am boldly marking this bug report as "done" but will change its status back
if the patch doesn't fix things for you.

(file #49491)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-Fix-AC_PROG_LEX-regression.patch Size:2 KB
   
<https://file.savannah.gnu.org/file/0001-Fix-AC_PROG_LEX-regression.patch?file_id=49491>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110269>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.