From: Joshua U. <uz...@li...> - 2000-04-26 23:30:30
|
* Mike Hopkirk(hops) <ho...@sc...> [000426 16:07]: > > The flex/lex detector is standard with automake, > > Yees - looks like its not working for flex lib in a non system location > I wonder if thats not been an issue for anything else cos they make the > assumption flex is not available on sco platforms and go explicitly to lex ... I dunno... I don't think that's the case. I think it by default looks for flex, and then drops back to lex. > Can get it to work by setting LEX and LEXLIB explicitly to include > -L/usr/local/lib.. ( that configure test is then skipped) > > probably all it needs is a redefinition of > AC_PROG_LEX in aclocal.m4 such that the > AC_CHECK_LIB line becomes sommat like > > AC_CHECK_LIB($ac_lib, yywrap, LEXLIB="-L/usr/local/lib -l$ac_lib") Wanna see if you can get it working over there? It'll be easier than if we try to transfer fixes back and forth (unless it goes into the cvs tree). > The env variable override works well enough to be going on with .. Great. > > Those are as a result of the curses stuff I've put in... they're > > there just in case we can use them to our benefit. > > I think we can probably dispense with them - if we have a need for > platform tweaks we should probably trigger them individually per > tweak rather than on a platform basis... *nod*... I just took the already written thing and plugged it right in there. We should at least put the: #if defined(USE_NCURSES) && !defined(RENAMED_NCURSES) #ifdef HAVE_NCURSES #include <ncurses.h> #else #include <curses.h> #endif kinda stuff in... but just the curses.h #include suffices anyways mostly... -- Joshua Uziel, Senior Linux Consultant, Linuxcare, Inc. 415.354.4878 tel, 415.701.7457 fax uz...@li..., http://www.linuxcare.com/ Linuxcare. Support for the revolution. |