Oh yeah, I also wanted to point out that although I have the most recent
Bison and flex I'm still seeing an error in the test during
configuration. From the file config.log:
configure:7824: checking lex library
configure:7838: gcc -o conftest -g -O2 conftest.c >&5
/tmp/ccmYrPKQ.o: In function `input':
/usr/local/src/octave/octave-background_command/build3/lex.yy.c:1172:
undefined reference to `yywrap'
/tmp/ccmYrPKQ.o: In function `yylex':
/usr/local/src/octave/octave-background_command/build3/lex.yy.c:870:
undefined reference to `yywrap'
/tmp/ccmYrPKQ.o: In function `main':
/usr/local/src/octave/octave-background_command/build3/conftest.l:17:
undefined reference to `yywrap'
collect2: ld returned 1 exit status
configure:7838: $? = 1
configure: failed program was:
| /* confdefs.h */
Is there a way to make this test pass by using one of the alternatives
here:
http://stackoverflow.com/questions/1811125/undefined-reference-to-yywrap
i.e., the "%option noyywrap" or linking using the default yywrap()
function? The latter seems a little easier to do in the 'configure'
scripts.