From: Joshua U. <uz...@li...> - 2000-04-26 05:16:08
|
* Petr Sorfa <pe...@sc...> [000424 21:16]: > If anyboy wants to do the autoconf, go ahead and let me know. I'll > freeze the code till autoconf is ready to go in. I'll freeze it only > when Joshua's changes go in. I'm rather busy and will really only have > time to look at the code on wednesday. Ok, I'm mostly ready to go on this... there's quite a bit to change, though... so it might be better if I give you a tar ball and let you merge it in. I've kept the tree here up to date with the CVS tree and the changes happening there. Mike - any results over there? No matter, I have a new tarball for you to try anyways... > Joshua I think you can go ahead and merge your changes with top of tree > if you're comfortable, do a diff from your source to the tree before you > do just in case you're working with missync'd code. More comments below: I'll just give you the whole tree I have here and leave you to it. This is a big enough change that I'll let you have a nice, long and hard look at things before the commit. > > * It'll default to "flex" and then go to "lex"... which flex seems > > to be required. That, and I have it pass "-l" as an $LFLAG. > Be careful not to let -l go to normal lex. Magic happens. This is all fixed now... though a bit of it is a little hackish, it works and should work right. > Um, I had this dilema, and off hand I would say no as the scanner.c file > relies on your proper setup of flex/lex anyway and the associated libl > or libfl. Possibly with yacc file though. And this was the biggest hack needed... but I got it working right now so that neither generated file in distributed. The nice thing will be that when you want to put a new copy online for download, you only need to do a "make dist" and it'll do everything for you. > > * Setting the defines is not complete... "Linux" is there, but > > I'm not 100% sure about others like "BSD", etc... > There is a BSD makefile, but I've not tested it. The BSD makefile is _badly_ broken. My friend with both an OpenBSD and FreeBSD machine tried it and it didn't work. My autoconf stuff did work (after a few minor code changes) on OpenBSD... and I haven't heard more about FreeBSD since... > > * I have it -lcurses ... not -lncurses. It's not problem on > > Linux, since they're one and the same. I've noticed on Solaris > > (where this built fine) that it builds, and thinks it has > > ncurses, but then it can't find the shared library. In the > > meantime, people can hand-modify it to use -lncurses after > > they do a ./configure. > Look at the makefiles in the build directory for the differences. Yep... worst case, we can hard-code things, but I don't think there's an issue just using -lcurses. > Sure drop in the INSTALL. Move the common directory to source as part of > the autoconf setup. I'll leave that up to you... the tree is in... http://uzix.org/~uzi/cscope-ac.tar.gz After this is tested to work, we should probably talk a bit more before the merge, just in case... other that, I'm ready when you are... and since I work from home mostly, my home/office phone number is 510-794-2911... just in case you ever need/want it. -- 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. |