Hello,

I am currently developing a cable driver for newer J-Links based on
libjaylink, because the old driver doesn't work with newer V11 J-Links.
The driver itself seems to kind of work as boundary scans do work. SVF
replay is still kind of buggy, but the driver still is a WIP.

However, whilst trying to get libjaylink detection into the autoconf
scripts, I have a weird error:

> checking for LIBJAYLINK... yes
> checking for a Python interpreter with version >= 2.5... python
> checking for python... /usr/bin/python
> checking for python version... 3.8
> checking for python platform... linux
> checking for python script directory... ${prefix}/lib/python3.8/site-packages
> checking for python extension module directory... 
> ${exec_prefix}/lib/python3.8/site-packages
> checking for flex... flex
> checking lex output file root... lex.yy
> checking lex library... -lfl
> checking whether yytext is a pointer... yes
> checking for gawk... (cached) gawk
> checking for a sed that does not truncate output... (cached) /usr/bin/sed
> checking for flex >= 2.5.33, required for SVF and BSDL lexer... yes - flex 
> 2.6.4
> ./configure: line 17966: syntax error near unexpected token `('
> ./configure: line 17966: `    as_echo_body='eval expr "X$1" : "X\\(.*\\)"''

This only happens when my custom stuff in configure.ac is present.
I don't have any clue what the problem might be. I tried to copy the
stuff from the libusb detection. I have not used autoconf at all, so I'm
kind of stuck right now.

Does anyone have a hint?
My code currently is at
        https://github.com/boomer41/urjtag/tree/cable/jaylink
My configure.ac stuff starts at line 362.

If you have any critique on the code, please let me know too!
I haven't done anything with C in a while, so any feedback is
appreciated! :)

Thanks
Stephan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to