You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
(9) |
Mar
(6) |
Apr
(8) |
May
(7) |
Jun
(49) |
Jul
(36) |
Aug
(8) |
Sep
(4) |
Oct
(11) |
Nov
(3) |
Dec
|
2002 |
Jan
(8) |
Feb
|
Mar
(7) |
Apr
(2) |
May
|
Jun
(3) |
Jul
(9) |
Aug
(2) |
Sep
|
Oct
(3) |
Nov
|
Dec
(2) |
2003 |
Jan
(6) |
Feb
|
Mar
(2) |
Apr
(3) |
May
|
Jun
(5) |
Jul
|
Aug
(6) |
Sep
(6) |
Oct
(2) |
Nov
|
Dec
|
2004 |
Jan
(2) |
Feb
(12) |
Mar
|
Apr
(10) |
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
(4) |
2005 |
Jan
(4) |
Feb
(6) |
Mar
(3) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(2) |
Dec
|
2006 |
Jan
|
Feb
(2) |
Mar
|
Apr
(12) |
May
(2) |
Jun
|
Jul
(6) |
Aug
(4) |
Sep
(11) |
Oct
(10) |
Nov
|
Dec
|
2007 |
Jan
(4) |
Feb
(2) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2008 |
Jan
|
Feb
(2) |
Mar
(4) |
Apr
(2) |
May
|
Jun
(6) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(2) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(8) |
2010 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(5) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
From: Petr S. <pe...@us...> - 2001-06-29 14:20:19
|
Update of /cvsroot/cscope/cscope In directory usw-pr-cvs1:/tmp/cvs-serv6619 Modified Files: ChangeLog AUTHORS Log Message: Added webcscope to contribs. Index: ChangeLog =================================================================== RCS file: /cvsroot/cscope/cscope/ChangeLog,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -r1.83 -r1.84 *** ChangeLog 2001/06/29 10:52:27 1.83 --- ChangeLog 2001/06/29 14:20:15 1.84 *************** *** 1,2 **** --- 1,3 ---- + (2001/06/29 - ragho) webcscope added to contrib (2001/06/29 - broeker) Re-formatted README, and added a tip working around buggy libcurses on HP-UX 10. Index: AUTHORS =================================================================== RCS file: /cvsroot/cscope/cscope/AUTHORS,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -r1.27 -r1.28 *** AUTHORS 2001/06/28 22:15:00 1.27 --- AUTHORS 2001/06/29 14:20:15 1.28 *************** *** 27,28 **** --- 27,30 ---- Triet H. Lai <th...@ma...> - GNU Emacs fixes for xcscope.el Steven Elliott <sel...@au...> - Fuzzy pattern matching for xcscope.el + Ragho Mahalingam <ra...@ma...> - webcscope + Dmitry Obukhov - Hilight code in webcscope |
From: Petr S. <pe...@us...> - 2001-06-29 14:14:28
|
Update of /cvsroot/cscope/cscope/contrib/webcscope/icons In directory usw-pr-cvs1:/tmp/cvs-serv4762/icons Log Message: Directory /cvsroot/cscope/cscope/contrib/webcscope/icons added to the repository |
From: Petr S. <pe...@us...> - 2001-06-29 14:13:58
|
Update of /cvsroot/cscope/cscope/contrib/webcscope In directory usw-pr-cvs1:/tmp/cvs-serv4558/webcscope Log Message: Directory /cvsroot/cscope/cscope/contrib/webcscope added to the repository |
From: Hans-Bernhard B. <br...@us...> - 2001-06-29 10:52:30
|
Update of /cvsroot/cscope/cscope In directory usw-pr-cvs1:/tmp/cvs-serv2299 Modified Files: ChangeLog README Log Message: Added workaround for HP-sUX curses problem to README Index: ChangeLog =================================================================== RCS file: /cvsroot/cscope/cscope/ChangeLog,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -r1.82 -r1.83 *** ChangeLog 2001/06/28 22:15:00 1.82 --- ChangeLog 2001/06/29 10:52:27 1.83 *************** *** 1,2 **** --- 1,5 ---- + (2001/06/29 - broeker) Re-formatted README, and added a tip working around + buggy libcurses on HP-UX 10. + (2001/06/29 - broeker) Oversight in packages/MSDOS/djmake.bat fixed. (2001/06/28 - darrylo) Updated xcscope.el to include GNU Emacs fixes and fuzzy pattern matching. Updated docs in xcscope.el. Index: README =================================================================== RCS file: /cvsroot/cscope/cscope/README,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** README 2000/11/20 20:07:24 1.5 --- README 2001/06/29 10:52:27 1.6 *************** *** 14,23 **** TIPS: - - Try to use flex as the lexical analyzer. There may be some problems with using the native lex (due to some problems). The has been reported as a problem on Solaris. - - On Linux systems (and possibly others) configure may fail if lex is a synomyn for flex. To fix, do the following: make distclean ./configure --with-flex make Browse to http://cscope.sourceforge.net for more current information --- 14,35 ---- TIPS: + - Try to use flex as the lexical analyzer. There may be some problems + with using the native lex (due to some problems). The has been + reported as a problem on Solaris. + + - On Linux systems (and possibly others) configure may fail if lex is + a synomyn for flex. To fix, do the following: + make distclean ./configure --with-flex make + + - On HP-UX 10.*, the default version of curses was observed to be broken. + Get their "cumulative patches" and then compile like this, to work + around that bug: + + make CURSES_LIBS=-lHcurses + Browse to http://cscope.sourceforge.net for more current information |
From: Hans-Bernhard B. <br...@us...> - 2001-06-29 10:49:19
|
Update of /cvsroot/cscope/cscope/packages/MSDOS In directory usw-pr-cvs1:/tmp/cvs-serv1253/packages/MSDOS Modified Files: djmake.bat Log Message: Fix pathname of patch file Index: djmake.bat =================================================================== RCS file: /cvsroot/cscope/cscope/packages/MSDOS/djmake.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** djmake.bat 2001/06/28 15:56:06 1.1 --- djmake.bat 2001/06/29 10:49:15 1.2 *************** *** 10,14 **** echo with "ln -s": ! patch -p1 -i contrib/msdos/ylwrap.pat echo ---- Now configure and make it. --- 10,14 ---- echo with "ln -s": ! patch -p1 -i packages/MSDOS/ylwrap.pat echo ---- Now configure and make it. |
From: Darryl O. <da...@us...> - 2001-06-28 22:15:04
|
Update of /cvsroot/cscope/cscope In directory usw-pr-cvs1:/tmp/cvs-serv29033 Modified Files: AUTHORS ChangeLog Log Message: Updated AUTHORS and ChangeLog. Also updated documentation in xcscope.el, and added the ability to use cscope databases that can have different names (they no longer must all have the same name). Index: AUTHORS =================================================================== RCS file: /cvsroot/cscope/cscope/AUTHORS,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -r1.26 -r1.27 *** AUTHORS 2001/05/30 21:10:55 1.26 --- AUTHORS 2001/06/28 22:15:00 1.27 *************** *** 25,26 **** --- 25,28 ---- Garret Hade - Various ocs fixes Nick Dixon - Improvement in key handling + Triet H. Lai <th...@ma...> - GNU Emacs fixes for xcscope.el + Steven Elliott <sel...@au...> - Fuzzy pattern matching for xcscope.el Index: ChangeLog =================================================================== RCS file: /cvsroot/cscope/cscope/ChangeLog,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -r1.81 -r1.82 *** ChangeLog 2001/06/28 15:56:06 1.81 --- ChangeLog 2001/06/28 22:15:00 1.82 *************** *** 1,2 **** --- 1,4 ---- + (2001/06/28 - darrylo) Updated xcscope.el to include GNU Emacs fixes and + fuzzy pattern matching. Updated docs in xcscope.el. (2001/06/28 - broeker) Added files in packages/MSDOS that help compiling cscope on MSDOS using the DJGPP compiler. |
From: Darryl O. <da...@us...> - 2001-06-28 22:15:04
|
Update of /cvsroot/cscope/cscope/contrib/xcscope In directory usw-pr-cvs1:/tmp/cvs-serv29033/contrib/xcscope Modified Files: xcscope.el Log Message: Updated AUTHORS and ChangeLog. Also updated documentation in xcscope.el, and added the ability to use cscope databases that can have different names (they no longer must all have the same name). Index: xcscope.el =================================================================== RCS file: /cvsroot/cscope/cscope/contrib/xcscope/xcscope.el,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** xcscope.el 2001/06/28 04:45:05 1.8 --- xcscope.el 2001/06/28 22:15:00 1.9 *************** *** 7,11 **** ; Author: Darryl Okahata ; Created: Wed Apr 19 17:03:38 2000 ! ; Modified: Wed Jun 27 20:59:17 2001 ; Language: Emacs-Lisp ; Package: N/A --- 7,11 ---- ; Author: Darryl Okahata ; Created: Wed Apr 19 17:03:38 2000 ! ; Modified: Thu Jun 28 15:10:40 2001 (Darryl Okahata) da...@so... ; Language: Emacs-Lisp ; Package: N/A *************** *** 140,148 **** ;; current directory will be used. ;; ! ;; A cscope database directory is one in which EITHER a cscope ! ;; database file (e.g., "cscope.out") OR a cscope file list (e.g., ;; "cscope.files") exists. If only "cscope.files" exists, the ;; corresponding "cscope.out" will be automatically created by cscope ! ;; when a search is done. ;; ;; Note that the variable, `cscope-database-regexps', is generally not --- 140,152 ---- ;; current directory will be used. ;; ! ;; A cscope database directory is one in which EITHER a cscope database ! ;; file (e.g., "cscope.out") OR a cscope file list (e.g., ;; "cscope.files") exists. If only "cscope.files" exists, the ;; corresponding "cscope.out" will be automatically created by cscope ! ;; when a search is done. By default, the cscope database file is called ! ;; "cscope.out", but this can be changed (on a global basis) via the ! ;; variable, `cscope-database-file'. There is limited support for cscope ! ;; databases that are named differently than that given by ! ;; `cscope-database-file', using the variable, `cscope-database-regexps'. ;; ;; Note that the variable, `cscope-database-regexps', is generally not *************** *** 322,330 **** ;; t ;; ! ;; Here, DBDIR is a directory that contains a cscope database. If only ! ;; DBDIR is specified, then that cscope database will be searched without ! ;; any additional cscope command-line options. If OPTIONS is given, then ! ;; OPTIONS is a list of strings, where each string is a separate cscope ! ;; command-line option. ;; ;; In the case of "( t )", this specifies that the search is to use the --- 326,339 ---- ;; t ;; ! ;; Here, DBDIR is a directory (or a file) that contains a cscope ! ;; database. If DBDIR is a directory, then it is expected that the ! ;; cscope database, if present, has the filename given by the variable, ! ;; `cscope-database-file'; if DBDIR is a file, then DBDIR is the path ! ;; name to a cscope database file (which does not have to be the same as ! ;; that given by `cscope-database-file'). If only DBDIR is specified, ! ;; then that cscope database will be searched without any additional ! ;; cscope command-line options. If OPTIONS is given, then OPTIONS is a ! ;; list of strings, where each string is a separate cscope command-line ! ;; option. ;; ;; In the case of "( t )", this specifies that the search is to use the *************** *** 358,363 **** ;; ;; A cscope database directory is one in which EITHER a cscope database ! ;; file (e.g., "cscope.out") OR a cscope file list (e.g., "cscope.files") ! ;; exists. ;; ;; Here is an example of `cscope-database-regexps': --- 367,378 ---- ;; ;; A cscope database directory is one in which EITHER a cscope database ! ;; file (e.g., "cscope.out") OR a cscope file list (e.g., ! ;; "cscope.files") exists. If only "cscope.files" exists, the ! ;; corresponding "cscope.out" will be automatically created by cscope ! ;; when a search is done. By default, the cscope database file is called ! ;; "cscope.out", but this can be changed (on a global basis) via the ! ;; variable, `cscope-database-file'. There is limited support for cscope ! ;; databases that are named differently than that given by ! ;; `cscope-database-file', using the variable, `cscope-database-regexps'. ;; ;; Here is an example of `cscope-database-regexps': *************** *** 368,372 **** ;; ( t ) ;; ( "/users/jdoe/sources/proj2") ! ;; ( "/users/jdoe/sources/proj3") ;; t ;; ( "/some/master/directory" ("-d" "-I/usr/local/include") ) --- 383,388 ---- ;; ( t ) ;; ( "/users/jdoe/sources/proj2") ! ;; ( "/users/jdoe/sources/proj3/mycscope.out") ! ;; ( "/users/jdoe/sources/proj4") ;; t ;; ( "/some/master/directory" ("-d" "-I/usr/local/include") ) *************** *** 385,390 **** ;; ;; 2. Next, searches will be done using the cscope database ! ;; directories, "/users/jdoe/sources/proj2" and ! ;; "/users/jdoe/sources/proj3". ;; ;; 3. If a match was found, searching will stop. --- 401,409 ---- ;; ;; 2. Next, searches will be done using the cscope database ! ;; directories, "/users/jdoe/sources/proj2", ! ;; "/users/jdoe/sources/proj3/mycscope.out", and ! ;; "/users/jdoe/sources/proj4". Note that, instead of the file, ! ;; "cscope.out", the file, "mycscope.out", will be used in the ! ;; directory "/users/jdoe/sources/proj3". ;; ;; 3. If a match was found, searching will stop. *************** *** 421,426 **** ;; 1. Cannot handle whitespace in directory or file names. ;; ;; - ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; --- 440,472 ---- ;; 1. Cannot handle whitespace in directory or file names. ;; + ;; 2. By default, colored faces are used to display results. If you happen + ;; to use a black background, part of the results may be invisible + ;; (because the foreground color may be black, too). There are at least + ;; two solutions for this: + ;; + ;; 2a. Turn off colored faces, by setting `cscope-use-face' to `nil', + ;; e.g.: + ;; + ;; (setq cscope-use-face nil) + ;; + ;; 2b. Explicitly set colors for the faces used by cscope. The faces + ;; are: + ;; + ;; cscope-file-face + ;; cscope-function-face + ;; cscope-line-number-face + ;; cscope-line-face + ;; cscope-mouse-face + ;; + ;; The face most likely to cause problems (e.g., black-on-black + ;; color) is `cscope-line-face'. + ;; + ;; 3. The support for cscope databases different from that specified by + ;; `cscope-database-file' is quirky. If the file does not exist, it + ;; will not be auto-created (unlike files names by + ;; `cscope-database-file'). You can manually force the file to be + ;; created by using touch(1) to create a zero-length file; the + ;; database will be created the next time a search is done. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; *************** *** 472,480 **** t ! Here, DBDIR is a directory that contains a cscope database. If only ! DBDIR is specified, then that cscope database will be searched without ! any additional cscope command-line options. If OPTIONS is given, then ! OPTIONS is a list of strings, where each string is a separate cscope ! command-line option. In the case of \"( t )\", this specifies that the search is to use the --- 518,530 ---- t ! Here, DBDIR is a directory (or a file) that contains a cscope database. ! If DBDIR is a directory, then it is expected that the cscope database, ! if present, has the filename given by the variable, ! `cscope-database-file'; if DBDIR is a file, then DBDIR is the path name ! to a cscope database file (which does not have to be the same as that ! given by `cscope-database-file'). If only DBDIR is specified, then that ! cscope database will be searched without any additional cscope ! command-line options. If OPTIONS is given, then OPTIONS is a list of ! strings, where each string is a separate cscope command-line option. In the case of \"( t )\", this specifies that the search is to use the *************** *** 508,513 **** A cscope database directory is one in which EITHER a cscope database ! file (e.g., \"cscope.out\") OR a cscope file list (e.g., \"cscope.files\") ! exists. Here is an example of `cscope-database-regexps': --- 558,569 ---- A cscope database directory is one in which EITHER a cscope database ! file (e.g., \"cscope.out\") OR a cscope file list (e.g., ! \"cscope.files\") exists. If only \"cscope.files\" exists, the ! corresponding \"cscope.out\" will be automatically created by cscope ! when a search is done. By default, the cscope database file is called ! \"cscope.out\", but this can be changed (on a global basis) via the ! variable, `cscope-database-file'. There is limited support for cscope ! databases that are named differently than that given by ! `cscope-database-file', using the variable, `cscope-database-regexps'. Here is an example of `cscope-database-regexps': *************** *** 518,522 **** ( t ) ( \"/users/jdoe/sources/proj2\") ! ( \"/users/jdoe/sources/proj3\") t ( \"/some/master/directory\" (\"-d\" \"-I/usr/local/include\") ) --- 574,579 ---- ( t ) ( \"/users/jdoe/sources/proj2\") ! ( \"/users/jdoe/sources/proj3/mycscope.out\") ! ( \"/users/jdoe/sources/proj4\") t ( \"/some/master/directory\" (\"-d\" \"-I/usr/local/include\") ) *************** *** 535,540 **** 2. Next, searches will be done using the cscope database ! directories, \"/users/jdoe/sources/proj2\" and ! \"/users/jdoe/sources/proj3\". 3. If a match was found, searching will stop. --- 592,600 ---- 2. Next, searches will be done using the cscope database ! directories, \"/users/jdoe/sources/proj2\", ! \"/users/jdoe/sources/proj3/mycscope.out\", and ! \"/users/jdoe/sources/proj4\". Note that, instead of the file, ! \"cscope.out\", the file, \"mycscope.out\", will be used in the ! directory \"/users/jdoe/sources/proj3\". 3. If a match was found, searching will stop. *************** *** 1264,1267 **** --- 1324,1329 ---- (let (this-directory database-dir) (catch 'done + (if (file-regular-p directory) + (throw 'done directory)) (setq directory (cscope-canonicalize-directory directory) this-directory directory) *************** *** 1527,1531 **** (defun cscope-search-one-database () "Pop a database entry from cscope-search-list and do a search there." ! (let ( next-item options cscope-directory database-file outbuf done) (setq outbuf (get-buffer-create cscope-output-buffer-name)) (save-excursion --- 1589,1594 ---- (defun cscope-search-one-database () "Pop a database entry from cscope-search-list and do a search there." ! (let ( next-item options cscope-directory database-file outbuf done ! base-database-file-name) (setq outbuf (get-buffer-create cscope-output-buffer-name)) (save-excursion *************** *** 1536,1539 **** --- 1599,1603 ---- (setq next-item (car cscope-search-list) cscope-search-list (cdr cscope-search-list) + base-database-file-name cscope-database-file ) (if (listp next-item) *************** *** 1544,1547 **** --- 1608,1620 ---- (cscope-search-directory-hierarchy default-directory))) + (if (file-regular-p cscope-directory) + (progn + ;; Handle the case where `cscope-directory' is really + ;; a full path name to a cscope database. + (setq base-database-file-name + (file-name-nondirectory cscope-directory) + cscope-directory + (file-name-directory cscope-directory)) + )) (setq cscope-directory (file-name-as-directory cscope-directory)) *************** *** 1571,1575 **** (if cscope-command-args (setq options (append options cscope-command-args))) ! (setq database-file (concat cscope-directory cscope-database-file) cscope-searched-dirs (cons cscope-directory cscope-searched-dirs) --- 1644,1648 ---- (if cscope-command-args (setq options (append options cscope-command-args))) ! (setq database-file (concat cscope-directory base-database-file-name) cscope-searched-dirs (cons cscope-directory cscope-searched-dirs) *************** *** 1585,1590 **** (goto-char (point-max)) (setq cscope-item-start (point)) ! (insert "\nDatabase directory: " cscope-directory "\n" ! cscope-separator-line) (setq cscope-output-start (point)) (setq default-directory cscope-directory) --- 1658,1670 ---- (goto-char (point-max)) (setq cscope-item-start (point)) ! (if (string= base-database-file-name cscope-database-file) ! (insert "\nDatabase directory: " cscope-directory "\n" ! cscope-separator-line) ! (insert "\nDatabase directory/file: " ! cscope-directory base-database-file-name "\n" ! cscope-separator-line)) ! ;; Add the correct database file to search ! (setq options (cons base-database-file-name options)) ! (setq options (cons "-f" options)) (setq cscope-output-start (point)) (setq default-directory cscope-directory) |
From: Hans-Bernhard B. <br...@us...> - 2001-06-28 15:56:10
|
Update of /cvsroot/cscope/cscope/packages/MSDOS In directory usw-pr-cvs1:/tmp/cvs-serv29687/packages/MSDOS Added Files: README djmake.bat ylwrap.pat Log Message: DJGPP build support files added --- NEW FILE --- ------------------------------------ cscope for DOS using DJGPP ------------------------------------ *) You need a rather recent DJGPP version and tools installed. For running cscope on DOS, be sure you have: * GNU ed for cscope's automated editing of files. It's quite likely you didn't have this installed, unless you're a collector of Unix tools. * an editor or viewer to be used as a child program when you open a match, inside cscope. DJGPP-compiled versions, if possible. Choose either -- `less' if you're content with viewing the file -- some version of `vi' (VIM, Elvis, or NVI) use cscope in it's "classical" way -- GNU Emacs for the full glory :-) Set the environment variable CSCOPE_EDITOR or EDITOR to the name of the editor you want to use. You may want to create a [cscope] section in your djgpp.env file, if you know how to do it. For more details what cscope is, and how to use it, see the documentation in the root directory of the cscope sources, or the man page. *) For compiling cscope from sources, you need a much more complete collection of GNU development and commandline tools, in addition to the above, and the obvious GCC and binutils: * bash * make * flex * bison * sed * patch * fileutils (cp, ln, ...) * textutils (cat) Optionally, if you plan to modify the sources. * autoconf * automake * Perl These are the ones I'm sure you need --- I may have overlooked some. The DJGPP source packages is already configured, so you can just run 'make' to get the package. Then make install prefix=d:/djgpp" (or wherever else your DJGPP is) to install it. Or cd to the top source directory and execute the supplied djmake.bat: cd d:\djgpp\contrib\cscope packages\msdos\djmake.bat and watch it compile. This will be necessary if you made any substantial changes to the sources. Have fun with it. In case of problem, mail to dj...@de... (or the attached Usenet newsgroup) or file a bug report at cscope's page on Sourceforge.net. Hans-Bernhard Br"oker (br...@ph...) (Han...@ep...) --- NEW FILE --- @echo off if exist src\fscanner.l goto dir_okay echo !!!! Must run this batch file from the main source directory! exit :dir_okay echo ---- Start by patching the ylwrap script to avoid problems echo with "ln -s": patch -p1 -i contrib/msdos/ylwrap.pat echo ---- Now configure and make it. echo -- NOTE --: this assumes you have pdcurses installed! echo -- NOTE --: Will be using '-f' mode of flex, for faster scanning bash configure make CURSES_LIBS=-lpdcurses LFLAGS="-f8B" echo ---- You may now call "make install", if desired. echo -- DONE -- --- NEW FILE --- --- src/ylwrap Tue Jun 26 15:23:52 2001 +++ src/ylwrap.DOS Thu Jun 28 17:39:31 2001 @@ -80,7 +80,7 @@ ;; *) # Make a symbolic link, hard link or hardcopy. - ln -s ../"$input" . > /dev/null 2>&1 || ln ../"$input" . > /dev/null 2>&1 || cp ../"$input" . + ln ../"$input" . > /dev/null 2>&1 || cp ../"$input" . ;; esac $prog ${1+"$@"} "$input" |
From: Hans-Bernhard B. <br...@us...> - 2001-06-28 15:56:10
|
Update of /cvsroot/cscope/cscope In directory usw-pr-cvs1:/tmp/cvs-serv29687 Modified Files: ChangeLog Log Message: DJGPP build support files added Index: ChangeLog =================================================================== RCS file: /cvsroot/cscope/cscope/ChangeLog,v retrieving revision 1.80 retrieving revision 1.81 diff -C2 -r1.80 -r1.81 *** ChangeLog 2001/06/28 15:12:35 1.80 --- ChangeLog 2001/06/28 15:56:06 1.81 *************** *** 1,2 **** --- 1,4 ---- + (2001/06/28 - broeker) Added files in packages/MSDOS that help compiling + cscope on MSDOS using the DJGPP compiler. (2001/06/28 - broeker) Add test for existence of <sys/termios.h> header, to protect platforms that don't have it. |
From: Hans-Bernhard B. <br...@us...> - 2001-06-28 15:52:51
|
Update of /cvsroot/cscope/cscope/packages/MSDOS In directory usw-pr-cvs1:/tmp/cvs-serv28484/MSDOS Log Message: Directory /cvsroot/cscope/cscope/packages/MSDOS added to the repository |
From: Hans-Bernhard B. <br...@us...> - 2001-06-28 15:12:38
|
Update of /cvsroot/cscope/cscope/src In directory usw-pr-cvs1:/tmp/cvs-serv15620/src Modified Files: input.c Log Message: Test for presence of <sys/termios.h> Index: input.c =================================================================== RCS file: /cvsroot/cscope/cscope/src/input.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** input.c 2001/05/30 21:10:56 1.7 --- input.c 2001/06/28 15:12:35 1.8 *************** *** 44,48 **** --- 44,50 ---- #include <setjmp.h> /* jmp_buf */ #include <stdlib.h> + #if HAVE_SYS_TERMIOS_H #include <sys/termios.h> + #endif static char const rcsid[] = "$Id$"; |
From: Hans-Bernhard B. <br...@us...> - 2001-06-28 15:12:38
|
Update of /cvsroot/cscope/cscope In directory usw-pr-cvs1:/tmp/cvs-serv15620 Modified Files: ChangeLog config.h.in configure configure.in Log Message: Test for presence of <sys/termios.h> Index: ChangeLog =================================================================== RCS file: /cvsroot/cscope/cscope/ChangeLog,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -r1.79 -r1.80 *** ChangeLog 2001/06/27 18:07:13 1.79 --- ChangeLog 2001/06/28 15:12:35 1.80 *************** *** 1,2 **** --- 1,4 ---- + (2001/06/28 - broeker) Add test for existence of <sys/termios.h> header, + to protect platforms that don't have it. (2001/06/27 - broeker) Yet another set of automake/autoconf changes. Regenerated auto* files checked in, too. We are Index: config.h.in =================================================================== RCS file: /cvsroot/cscope/cscope/config.h.in,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** config.h.in 2001/06/27 16:42:25 1.7 --- config.h.in 2001/06/28 15:12:35 1.8 *************** *** 91,94 **** --- 91,97 ---- #undef HAVE_SYS_NDIR_H + /* Define if you have the <sys/termios.h> header file. */ + #undef HAVE_SYS_TERMIOS_H + /* Define if you have the <sys/window.h> header file. */ #undef HAVE_SYS_WINDOW_H Index: configure =================================================================== RCS file: /cvsroot/cscope/cscope/configure,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** configure 2001/06/27 16:42:25 1.10 --- configure 2001/06/28 15:12:35 1.11 *************** *** 2358,2362 **** fi ! for ac_hdr in fcntl.h sys/window.h unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` --- 2358,2362 ---- fi ! for ac_hdr in fcntl.h sys/window.h sys/termios.h unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` Index: configure.in =================================================================== RCS file: /cvsroot/cscope/cscope/configure.in,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** configure.in 2001/06/27 15:51:26 1.16 --- configure.in 2001/06/28 15:12:35 1.17 *************** *** 477,481 **** AC_HEADER_DIRENT AC_HEADER_STDC ! AC_CHECK_HEADERS(fcntl.h sys/window.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. --- 477,481 ---- AC_HEADER_DIRENT AC_HEADER_STDC ! AC_CHECK_HEADERS(fcntl.h sys/window.h sys/termios.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. |
From: Darryl O. <da...@us...> - 2001-06-28 04:45:29
|
Update of /cvsroot/cscope/cscope/contrib/xcscope In directory usw-pr-cvs1:/tmp/cvs-serv28870 Modified Files: xcscope.el Log Message: Code cleanup. Arrow overlays are now optional, and the overlay string is now an option. Quitting the cscope buffer now kills the overlay arrow. Index: xcscope.el =================================================================== RCS file: /cvsroot/cscope/cscope/contrib/xcscope/xcscope.el,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** xcscope.el 2001/06/28 03:26:46 1.7 --- xcscope.el 2001/06/28 04:45:05 1.8 *************** *** 7,11 **** ; Author: Darryl Okahata ; Created: Wed Apr 19 17:03:38 2000 ! ; Modified: Tue Mar 13 11:48:17 2001 (Darryl Okahata) da...@so... ; Language: Emacs-Lisp ; Package: N/A --- 7,11 ---- ; Author: Darryl Okahata ; Created: Wed Apr 19 17:03:38 2000 ! ; Modified: Wed Jun 27 20:59:17 2001 ; Language: Emacs-Lisp ; Package: N/A *************** *** 19,23 **** ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ! ;; ALPHA VERSION 0.94 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; --- 19,23 ---- ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ! ;; ALPHA VERSION 0.95 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; *************** *** 679,682 **** --- 679,703 ---- + (defcustom cscope-allow-arrow-overlays t + "*If non-nil, use an arrow overlay to show target lines. + Arrow overlays are only used when the following functions are used: + + cscope-show-entry-other-window + cscope-show-next-entry-other-window + cscope-show-prev-entry-other-window + + The arrow overlay is removed when other cscope functions are used. + Note that the arrow overlay is not an actual part of the text, and can + be removed by quitting the cscope buffer." + :type 'boolean + :group 'cscope) + + + (defcustom cscope-overlay-arrow-string "=>" + "*The overlay string to use when displaying arrow overlays." + :type 'string + :group 'cscope) + + (defvar cscope-minor-mode-hooks nil "List of hooks to call when entering cscope-minor-mode.") *************** *** 767,773 **** (define-key cscope-list-entry-keymap "n" 'cscope-show-next-entry-other-window) (define-key cscope-list-entry-keymap "p" 'cscope-show-prev-entry-other-window) ! (define-key cscope-list-entry-keymap "q" 'bury-buffer) (define-key cscope-list-entry-keymap "Q" 'cscope-quit) (define-key cscope-list-entry-keymap "h" 'cscope-help) (define-key cscope-list-entry-keymap "s" 'cscope-find-this-symbol) (define-key cscope-list-entry-keymap "g" 'cscope-find-global-definition) --- 788,795 ---- (define-key cscope-list-entry-keymap "n" 'cscope-show-next-entry-other-window) (define-key cscope-list-entry-keymap "p" 'cscope-show-prev-entry-other-window) ! (define-key cscope-list-entry-keymap "q" 'cscope-bury-buffer) (define-key cscope-list-entry-keymap "Q" 'cscope-quit) (define-key cscope-list-entry-keymap "h" 'cscope-help) + (define-key cscope-list-entry-keymap "?" 'cscope-help) (define-key cscope-list-entry-keymap "s" 'cscope-find-this-symbol) (define-key cscope-list-entry-keymap "g" 'cscope-find-global-definition) *************** *** 799,803 **** mode-name "cscope" major-mode 'cscope-list-entry-mode ! overlay-arrow-string "=>") (or overlay-arrow-position (setq overlay-arrow-position (make-marker))) --- 821,825 ---- mode-name "cscope" major-mode 'cscope-list-entry-mode ! overlay-arrow-string cscope-overlay-arrow-string) (or overlay-arrow-position (setq overlay-arrow-position (make-marker))) *************** *** 970,974 **** :style toggle :selected cscope-index-recursively ] [ "Suppress empty matches" (setq cscope-suppress-empty-matches ! (not cscope-suppress-empty-matches)) :style toggle :selected cscope-suppress-empty-matches ] [ "Use relative paths" (setq cscope-use-relative-paths --- 992,996 ---- :style toggle :selected cscope-index-recursively ] [ "Suppress empty matches" (setq cscope-suppress-empty-matches ! (not cscope-suppress-empty-matches)) :style toggle :selected cscope-suppress-empty-matches ] [ "Use relative paths" (setq cscope-use-relative-paths *************** *** 976,980 **** :style toggle :selected cscope-use-relative-paths ] [ "No mouse prompts" (setq cscope-no-mouse-prompts ! (not cscope-no-mouse-prompts)) :style toggle :selected cscope-no-mouse-prompts ] )) --- 998,1002 ---- :style toggle :selected cscope-use-relative-paths ] [ "No mouse prompts" (setq cscope-no-mouse-prompts ! (not cscope-no-mouse-prompts)) :style toggle :selected cscope-no-mouse-prompts ] )) *************** *** 1004,1008 **** plist (plist-put plist 'cscope-file filename)) (if line-number ! (progn (if (stringp line-number) (setq line-number (string-to-number line-number))) --- 1026,1030 ---- plist (plist-put plist 'cscope-file filename)) (if line-number ! (progn (if (stringp line-number) (setq line-number (string-to-number line-number))) *************** *** 1031,1035 **** (select-window window)) (recenter n))) ! ) --- 1053,1057 ---- (select-window window)) (recenter n))) ! ) *************** *** 1101,1105 **** (setq new-point old-point)) (set-window-point window new-point) ! (if arrow-p (set-marker overlay-arrow-position (point)) (set-marker overlay-arrow-position nil)) --- 1123,1127 ---- (setq new-point old-point)) (set-window-point window new-point) ! (if (and cscope-allow-arrow-overlays arrow-p) (set-marker overlay-arrow-position (point)) (set-marker overlay-arrow-position nil)) *************** *** 1141,1145 **** (select-window window) (sit-for 0) ;; Redisplay hack to allow delete-other-windows ! ;; to continue displaying the correct location. (delete-other-windows window) )) --- 1163,1167 ---- (select-window window) (sit-for 0) ;; Redisplay hack to allow delete-other-windows ! ;; to continue displaying the correct location. (delete-other-windows window) )) *************** *** 1207,1215 **** "Help"))) (defun cscope-quit () (interactive) (kill-buffer cscope-output-buffer-name) - (setq overlay-arrow-position nil - overlay-arrow-string nil) ) --- 1229,1249 ---- "Help"))) + + (defun cscope-bury-buffer () + "Clean up cscope, if necessary, and bury the buffer." + (interactive) + (let () + (if overlay-arrow-position + (set-marker overlay-arrow-position nil)) + (setq overlay-arrow-position nil + overlay-arrow-string nil) + (bury-buffer (get-buffer cscope-output-buffer-name)) + )) + + (defun cscope-quit () (interactive) + (cscope-bury-buffer) (kill-buffer cscope-output-buffer-name) ) *************** *** 1218,1225 **** (defun cscope-canonicalize-directory (dir) (or dir ! (setq dir default-directory)) ! (setq dir (file-name-as-directory ! (expand-file-name (substitute-in-file-name dir)))) ! dir ) --- 1252,1259 ---- (defun cscope-canonicalize-directory (dir) (or dir ! (setq dir default-directory)) ! (setq dir (file-name-as-directory ! (expand-file-name (substitute-in-file-name dir)))) ! dir ) *************** *** 1288,1292 **** ;; Should we add any more places to look? ! ) ;; end catch (if (not info) (setq info (list (list top-directory)))) --- 1322,1326 ---- ;; Should we add any more places to look? ! ) ;; end catch (if (not info) (setq info (list (list top-directory)))) *************** *** 1313,1317 **** beg (- end (length line))) (put-text-property beg end 'face 'cscope-line-face str) ! )) str)) --- 1347,1351 ---- beg (- end (length line))) (put-text-property beg end 'face 'cscope-line-face str) ! )) str)) *************** *** 1367,1381 **** (match-end 4)) ) ! ;; If the current file is not the same as the previous ! ;; one ... ! (if (not (and cscope-last-file ! (string= file cscope-last-file))) ! (progn ! ;; The current file is different. ! ;; Insert a separating blank line if ! ;; necessary. (if cscope-last-file (insert "\n")) ! ;; Insert the file name (setq str (concat "*** " file ":")) (if cscope-use-face --- 1401,1415 ---- (match-end 4)) ) ! ;; If the current file is not the same as the previous ! ;; one ... ! (if (not (and cscope-last-file ! (string= file cscope-last-file))) ! (progn ! ;; The current file is different. ! ;; Insert a separating blank line if ! ;; necessary. (if cscope-last-file (insert "\n")) ! ;; Insert the file name (setq str (concat "*** " file ":")) (if cscope-use-face *************** *** 1385,1411 **** (cscope-insert-with-text-properties str ! (expand-file-name file) ! ;; Yes, -1 is intentional ! -1) (insert "\n") ! )) ! (if (not cscope-first-match) ! (setq cscope-first-match-point (point))) ! ;; ... and insert the line, with the ! ;; appropriate indentation. (cscope-insert-with-text-properties (cscope-make-entry-line function-name line-number ! line) (expand-file-name file) line-number) (insert "\n") ! (setq cscope-last-file file) ! (if cscope-first-match ! (setq cscope-matched-multiple t) ! (setq cscope-first-match ! (cons (expand-file-name file) ! (string-to-number line-number)))) ! )) (insert line "\n") )) --- 1419,1445 ---- (cscope-insert-with-text-properties str ! (expand-file-name file) ! ;; Yes, -1 is intentional ! -1) (insert "\n") ! )) ! (if (not cscope-first-match) ! (setq cscope-first-match-point (point))) ! ;; ... and insert the line, with the ! ;; appropriate indentation. (cscope-insert-with-text-properties (cscope-make-entry-line function-name line-number ! line) (expand-file-name file) line-number) (insert "\n") ! (setq cscope-last-file file) ! (if cscope-first-match ! (setq cscope-matched-multiple t) ! (setq cscope-first-match ! (cons (expand-file-name file) ! (string-to-number line-number)))) ! )) (insert line "\n") )) *************** *** 1564,1568 **** cscope-program options)) (set-process-filter cscope-process cscope-filter-func) - ;; (set-process-sentinel cscope-process 'cscope-process-sentinel) (set-process-sentinel cscope-process cscope-sentinel-func) (set-marker (process-mark cscope-process) (point)) --- 1598,1601 ---- *************** *** 1571,1576 **** (setq modeline-process ": Searching ...")) (setq buffer-read-only t) ! ) ! (apply 'call-process cscope-program nil outbuf t options) ) t --- 1604,1609 ---- (setq modeline-process ": Searching ...")) (setq buffer-read-only t) ! ) ! (apply 'call-process cscope-program nil outbuf t options) ) t *************** *** 1836,1840 **** (point) ))) ! )) --- 1869,1873 ---- (point) ))) ! )) |
From: Darryl O. <da...@us...> - 2001-06-28 04:39:51
|
Update of /cvsroot/cscope/cscope/contrib/xcscope In directory usw-pr-cvs1:/tmp/cvs-serv28501 Modified Files: cscope-indexer Log Message: Allow more source extensions. Index: cscope-indexer =================================================================== RCS file: /cvsroot/cscope/cscope/contrib/xcscope/cscope-indexer,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** cscope-indexer 2000/06/09 00:20:55 1.1 --- cscope-indexer 2001/06/28 04:39:47 1.2 *************** *** 32,36 **** # Author: Darryl Okahata # Created: Thu Apr 27 17:12:14 2000 ! # Modified: Tue May 9 16:09:45 2000 (Darryl Okahata) da...@so... # Language: Shell-script # Package: N/A --- 32,36 ---- # Author: Darryl Okahata # Created: Thu Apr 27 17:12:14 2000 ! # Modified: Tue Jun 19 09:47:45 2001 (Darryl Okahata) da...@so... # Language: Shell-script # Package: N/A *************** *** 135,142 **** done else ! find $DIR -type f fi ) | \ ! egrep '\.([CHchly](xx|pp|XX|PP)*|CC|HH)$' | \ sed -e '/\/CVS\//d' -e '/\/RCS\//d' -e 's/^\.\///' | \ sort > $LIST_FILE --- 135,142 ---- done else ! find $DIR \( -type f -o -type l \) fi ) | \ ! egrep -i '\.([chly](xx|pp)*|cc|hh)$' | \ sed -e '/\/CVS\//d' -e '/\/RCS\//d' -e 's/^\.\///' | \ sort > $LIST_FILE |
From: Darryl O. <da...@us...> - 2001-06-28 03:26:48
|
Update of /cvsroot/cscope/cscope/contrib/xcscope In directory usw-pr-cvs1:/tmp/cvs-serv10167 Modified Files: xcscope.el Log Message: Corrected copyright. Index: xcscope.el =================================================================== RCS file: /cvsroot/cscope/cscope/contrib/xcscope/xcscope.el,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** xcscope.el 2001/06/28 03:24:05 1.6 --- xcscope.el 2001/06/28 03:26:46 1.7 *************** *** 15,18 **** --- 15,20 ---- ; GNU Emacs enhancements (C) Copyright 2001, ; Triet H. Lai <th...@ma...> + ; Fuzzy matching code (C) Copyright 2001, + ; Steven Elliott <sel...@au...> ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
From: Darryl O. <da...@us...> - 2001-06-28 03:24:08
|
Update of /cvsroot/cscope/cscope/contrib/xcscope In directory usw-pr-cvs1:/tmp/cvs-serv9476 Modified Files: xcscope.el Log Message: Steven Elliott's <sel...@au...> fuzzy matching patch. Index: xcscope.el =================================================================== RCS file: /cvsroot/cscope/cscope/contrib/xcscope/xcscope.el,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** xcscope.el 2001/06/28 02:07:44 1.5 --- xcscope.el 2001/06/28 03:24:05 1.6 *************** *** 899,902 **** --- 899,909 ---- (make-variable-buffer-local 'cscope-stop-at-first-match-dir-meta) + (defvar cscope-symbol nil + "The last symbol searched for.") + + (defvar cscope-adjust-range 1000 + "How far the point should be adjusted if the symbol is not on the line + specified by the cscope database.") + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; *************** *** 1034,1038 **** Put `overlay-arrow-string' if arrow-p is non-nil. Returns the window displaying BUFFER." ! (let (buffer old-pos) (if (and (stringp file) (integerp line-number)) --- 1041,1046 ---- Put `overlay-arrow-string' if arrow-p is non-nil. Returns the window displaying BUFFER." ! (let (buffer old-pos old-point new-point forward-point backward-point ! line-end line-length) (if (and (stringp file) (integerp line-number)) *************** *** 1044,1053 **** (set-window-buffer window buffer) (setq window (display-buffer buffer))) ! (set-buffer buffer) ! (if (> line-number 0) ! (progn (setq old-pos (point)) ! (goto-line line-number) ! (set-window-point window (point)) (if arrow-p (set-marker overlay-arrow-position (point)) --- 1052,1102 ---- (set-window-buffer window buffer) (setq window (display-buffer buffer))) ! (set-buffer buffer) ! (if (> line-number 0) ! (progn (setq old-pos (point)) ! (goto-line line-number) ! (setq old-point (point)) ! (if cscope-adjust-range ! (progn ! ;; Calculate the length of the line specified by cscope. ! (end-of-line) ! (setq line-end (point)) ! (goto-char old-point) ! (setq line-length (- line-end old-point)) ! ! ;; Search forward and backward for the pattern. ! (setq forward-point (search-forward ! cscope-symbol ! (+ old-point ! cscope-adjust-range) t)) ! (goto-char old-point) ! (setq backward-point (search-backward ! cscope-symbol ! (- old-point ! cscope-adjust-range) t)) ! (if forward-point ! (progn ! (if backward-point ! (setq new-point ! ;; Use whichever of forward-point or ! ;; backward-point is closest to old-point. ! ;; Give forward-point a line-length advantage ! ;; so that if the symbol is on the currrent ! ;; line the current line is chosen. ! (if (<= (- (- forward-point line-length) ! old-point) ! (- old-point backward-point)) ! forward-point ! backward-point)) ! (setq new-point forward-point))) ! (if backward-point ! (setq new-point backward-point) ! (setq new-point old-point))) ! (goto-char new-point) ! (beginning-of-line) ! (setq new-point (point))) ! (setq new-point old-point)) ! (set-window-point window new-point) (if arrow-p (set-marker overlay-arrow-position (point)) *************** *** 1056,1060 **** (= old-pos (point)) (push-mark old-pos)) ! )) ) (message "No entry found at point.")) --- 1105,1109 ---- (= old-pos (point)) (push-mark old-pos)) ! )) ) (message "No entry found at point.")) *************** *** 1812,1815 **** --- 1861,1865 ---- )) (let () + (setq cscope-symbol symbol) (cscope-call (format "Finding symbol: %s" symbol) (list "-0" symbol) nil 'cscope-process-filter *************** *** 1824,1827 **** --- 1874,1878 ---- )) (let () + (setq cscope-symbol symbol) (cscope-call (format "Finding global definition: %s" symbol) (list "-1" symbol) nil 'cscope-process-filter *************** *** 1837,1840 **** --- 1888,1892 ---- )) (let () + (setq cscope-symbol symbol) (cscope-call (format "Finding functions called by: %s" symbol) (list "-2" symbol) nil 'cscope-process-filter *************** *** 1850,1853 **** --- 1902,1906 ---- )) (let () + (setq cscope-symbol symbol) (cscope-call (format "Finding functions calling: %s" symbol) (list "-3" symbol) nil 'cscope-process-filter *************** *** 1862,1865 **** --- 1915,1919 ---- )) (let () + (setq cscope-symbol symbol) (cscope-call (format "Finding text string: %s" symbol) (list "-4" symbol) nil 'cscope-process-filter *************** *** 1875,1878 **** --- 1929,1933 ---- )) (let () + (setq cscope-symbol symbol) (cscope-call (format "Finding egrep pattern: %s" symbol) (list "-6" symbol) nil 'cscope-process-filter *************** *** 1888,1891 **** --- 1943,1947 ---- )) (let () + (setq cscope-symbol symbol) (cscope-call (format "Finding file: %s" symbol) (list "-7" symbol) nil 'cscope-process-filter *************** *** 1902,1905 **** --- 1958,1962 ---- )) (let () + (setq cscope-symbol symbol) (cscope-call (format "Finding files #including file: %s" symbol) (list "-8" symbol) nil 'cscope-process-filter |
From: Darryl O. <da...@us...> - 2001-06-28 02:07:48
|
Update of /cvsroot/cscope/cscope/contrib/xcscope In directory usw-pr-cvs1:/tmp/cvs-serv26167 Modified Files: xcscope.el Log Message: Triet H. Lai's <th...@ma...> GNU Emacs enhancements Index: xcscope.el =================================================================== RCS file: /cvsroot/cscope/cscope/contrib/xcscope/xcscope.el,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** xcscope.el 2001/06/28 01:29:23 1.4 --- xcscope.el 2001/06/28 02:07:44 1.5 *************** *** 4,8 **** ; File: xcscope.el ; RCS: $RCSfile$ $Revision$ $Date$ $Author$ ! ; Description: cscope interface for XEmacs ; Author: Darryl Okahata ; Created: Wed Apr 19 17:03:38 2000 --- 4,8 ---- ; File: xcscope.el ; RCS: $RCSfile$ $Revision$ $Date$ $Author$ ! ; Description: cscope interface for (X)Emacs ; Author: Darryl Okahata [...962 lines suppressed...] "Display functions calling a function." (interactive (list ! (cscope-prompt-for-symbol ! "Find functions calling this function: " nil) )) (let () *************** *** 1640,1644 **** (interactive (list (let (cscope-no-mouse-prompts) ! (cscope-prompt-for-symbol "Find files #including this file: " t)) )) (let () --- 1898,1903 ---- (interactive (list (let (cscope-no-mouse-prompts) ! (cscope-prompt-for-symbol ! "Find files #including this file: " t)) )) (let () |
From: Darryl O. <da...@us...> - 2001-06-28 01:29:25
|
Update of /cvsroot/cscope/cscope/contrib/xcscope In directory usw-pr-cvs1:/tmp/cvs-serv16655 Modified Files: xcscope.el Log Message: Last updates (before big changes). Index: xcscope.el =================================================================== RCS file: /cvsroot/cscope/cscope/contrib/xcscope/xcscope.el,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** xcscope.el 2000/08/11 20:47:32 1.3 --- xcscope.el 2001/06/28 01:29:23 1.4 *************** *** 7,11 **** ; Author: Darryl Okahata ; Created: Wed Apr 19 17:03:38 2000 ! ; Modified: Fri Aug 11 12:04:25 2000 (Darryl Okahata) da...@so... ; Language: Emacs-Lisp ; Package: N/A --- 7,11 ---- ; Author: Darryl Okahata ; Created: Wed Apr 19 17:03:38 2000 ! ; Modified: Tue Mar 13 11:48:17 2001 (Darryl Okahata) da...@so... ; Language: Emacs-Lisp ; Package: N/A *************** *** 15,21 **** ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ! ;; ALPHA VERSION 0.92 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; This is a cscope interface for XEmacs. ;; It currently runs under Unix only. --- 15,37 ---- ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ! ;; ALPHA VERSION 0.93 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; + ;; This program is free software; you can redistribute it and/or modify + ;; it under the terms of the GNU General Public License as published by + ;; the Free Software Foundation; either version 2, or (at your option) + ;; any later version. + ;; + ;; This program is distributed in the hope that it will be useful, + ;; but WITHOUT ANY WARRANTY; without even the implied warranty of + ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ;; GNU General Public License for more details. + ;; + ;; You should have received a copy of the GNU General Public License + ;; along with GNU Emacs; see the file COPYING. If not, write to + ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + ;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; ;; This is a cscope interface for XEmacs. ;; It currently runs under Unix only. *************** *** 712,715 **** --- 728,738 ---- + (defvar cscope-start-directory nil + "Internal variable used to save the initial start directory. + The results buffer gets reset to this directory when a search has + completely finished.") + (make-variable-buffer-local 'cscope-start-directory) + + (defvar cscope-search-list nil "A list of (DIR . FLAGS) entries. *************** *** 1113,1117 **** (if (and cscope-suppress-empty-matches (= cscope-output-start (point))) (delete-region cscope-item-start (point-max)) ! (insert cscope-separator-line)) (setq continue (and cscope-search-list --- 1136,1144 ---- (if (and cscope-suppress-empty-matches (= cscope-output-start (point))) (delete-region cscope-item-start (point-max)) ! (progn ! (if (not cscope-start-directory) ! (setq cscope-start-directory default-directory)) ! (insert cscope-separator-line) ! )) (setq continue (and cscope-search-list *************** *** 1138,1141 **** --- 1165,1170 ---- (setq cscope-process nil modeline-process ": Search complete") + (if cscope-start-directory + (setq default-directory cscope-start-directory)) ) )) *************** *** 1153,1157 **** (cdr cscope-first-match) window) )) ! ( update-window (set-window-point window cscope-first-match-point)) ) --- 1182,1186 ---- (cdr cscope-first-match) window) )) ! ( (and update-window cscope-first-match-point) (set-window-point window cscope-first-match-point)) ) *************** *** 1262,1265 **** --- 1291,1295 ---- (* (car (cdr (cdr times))) 1.0E-6))))) (setq default-directory directory + cscope-start-directory nil cscope-search-list (cscope-find-info directory) cscope-searched-dirs nil *************** *** 1268,1271 **** --- 1298,1302 ---- cscope-sentinel-func sentinel-func cscope-first-match nil + cscope-first-match-point nil cscope-stop-at-first-match-dir-meta (memq t cscope-search-list) cscope-matched-multiple nil |
From: Hans-Bernhard B. <br...@us...> - 2001-06-27 18:07:16
|
Update of /cvsroot/cscope/cscope In directory usw-pr-cvs1:/tmp/cvs-serv581 Modified Files: ChangeLog Log Message: Updated Index: ChangeLog =================================================================== RCS file: /cvsroot/cscope/cscope/ChangeLog,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -r1.78 -r1.79 *** ChangeLog 2001/06/26 14:05:52 1.78 --- ChangeLog 2001/06/27 18:07:13 1.79 *************** *** 1,2 **** --- 1,6 ---- + (2001/06/27 - broeker) Yet another set of automake/autoconf changes. + Regenerated auto* files checked in, too. We are + 'make distcheck' ready, now. Added 'ylwrap' to + CVS. (2001/06/26 - broeker) Changed lex/flex handling in automake/autoconf setup to make 'make distcheck' work cleanly: added new |
From: Hans-Bernhard B. <br...@us...> - 2001-06-27 16:42:29
|
Update of /cvsroot/cscope/cscope/contrib In directory usw-pr-cvs1:/tmp/cvs-serv11781/contrib Modified Files: Makefile.in Log Message: Autoconf/Automake files regenerated Index: Makefile.in =================================================================== RCS file: /cvsroot/cscope/cscope/contrib/Makefile.in,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Makefile.in 2000/05/19 01:13:54 1.1 --- Makefile.in 2001/06/27 16:42:25 1.2 *************** *** 72,75 **** --- 72,77 ---- bin_SCRIPTS = ocs + + EXTRA_DIST = ocs README xcscope mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h *************** *** 129,133 **** d=$(srcdir); \ if test -d $$d/$$file; then \ ! cp -pr $$/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ --- 131,135 ---- d=$(srcdir); \ if test -d $$d/$$file; then \ ! cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ |
From: Hans-Bernhard B. <br...@us...> - 2001-06-27 16:42:29
|
Update of /cvsroot/cscope/cscope/src In directory usw-pr-cvs1:/tmp/cvs-serv11781/src Modified Files: Makefile.in Log Message: Autoconf/Automake files regenerated Index: Makefile.in =================================================================== RCS file: /cvsroot/cscope/cscope/src/Makefile.in,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** Makefile.in 2000/05/04 22:46:01 1.3 --- Makefile.in 2001/06/27 16:42:25 1.4 *************** *** 71,78 **** bin_PROGRAMS = cscope ! cscope_SOURCES = scanner.l egrep.y alloc.c basename.c command.c compath.c constants.h crossref.c dir.c display.c edit.c exec.c find.c global.h help.c history.c input.c invlib.c invlib.h library.h logdir.c lookup.c main.c mouse.c mygetenv.c mypopen.c version.h vp.h vpaccess.c vpfopen.c vpinit.c vpopen.c LEXLIB = @LEXLIB@ --- 71,82 ---- bin_PROGRAMS = cscope + @USING_LEX_TRUE@LEXER_SOURCE = scanner.l + @USING_LEX_FALSE@LEXER_SOURCE = fscanner.l ! cscope_SOURCES = $(LEXER_SOURCE) egrep.y alloc.c basename.c command.c compath.c constants.h crossref.c dir.c display.c edit.c exec.c find.c global.h help.c history.c input.c invlib.c invlib.h library.h logdir.c lookup.c lookup.h main.c mouse.c mygetenv.c mypopen.c scanner.h version.h vp.h vpaccess.c vpfopen.c vpinit.c vpopen.c + EXTRA_cscope_SOURCES = scanner.l fscanner.l + LEXLIB = @LEXLIB@ *************** *** 81,86 **** INCLUDES = $(CURSES_INCLUDEDIR) ! BUILT_SOURCES = scanner.c egrep.c ! CLEANFILES = scanner.c egrep.c EXTRA_DIST = emacs.e gmacs.ml --- 85,89 ---- INCLUDES = $(CURSES_INCLUDEDIR) ! CLEANFILES = scanner.c fscanner.c egrep.c EXTRA_DIST = emacs.e gmacs.ml *************** *** 95,109 **** LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ ! cscope_OBJECTS = scanner.o egrep.o alloc.o basename.o command.o \ ! compath.o crossref.o dir.o display.o edit.o exec.o find.o help.o \ ! history.o input.o invlib.o logdir.o lookup.o main.o mouse.o mygetenv.o \ ! mypopen.o vpaccess.o vpfopen.o vpinit.o vpopen.o cscope_DEPENDENCIES = cscope_LDFLAGS = CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ ! DIST_COMMON = Makefile.am Makefile.in egrep.c scanner.c --- 98,120 ---- LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ ! @USING_LEX_FALSE@cscope_OBJECTS = fscanner.o egrep.o alloc.o basename.o \ ! @USING_LEX_FALSE@command.o compath.o crossref.o dir.o display.o edit.o \ ! @USING_LEX_FALSE@exec.o find.o help.o history.o input.o invlib.o \ ! @USING_LEX_FALSE@logdir.o lookup.o main.o mouse.o mygetenv.o mypopen.o \ ! @USING_LEX_FALSE@vpaccess.o vpfopen.o vpinit.o vpopen.o ! @USING_LEX_TRUE@cscope_OBJECTS = scanner.o egrep.o alloc.o basename.o \ ! @USING_LEX_TRUE@command.o compath.o crossref.o dir.o display.o edit.o \ ! @USING_LEX_TRUE@exec.o find.o help.o history.o input.o invlib.o \ ! @USING_LEX_TRUE@logdir.o lookup.o main.o mouse.o mygetenv.o mypopen.o \ ! @USING_LEX_TRUE@vpaccess.o vpfopen.o vpinit.o vpopen.o cscope_DEPENDENCIES = cscope_LDFLAGS = + YLWRAP = $(srcdir)/ylwrap CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ ! DIST_COMMON = Makefile.am Makefile.in egrep.c fscanner.c scanner.c \ ! ylwrap *************** *** 112,116 **** TAR = gtar GZIP_ENV = --best ! SOURCES = $(cscope_SOURCES) OBJECTS = $(cscope_OBJECTS) --- 123,134 ---- TAR = gtar GZIP_ENV = --best ! DEP_FILES = .deps/alloc.P .deps/basename.P .deps/command.P \ ! .deps/compath.P .deps/crossref.P .deps/dir.P .deps/display.P \ ! .deps/edit.P .deps/egrep.P .deps/exec.P .deps/find.P .deps/fscanner.P \ ! .deps/help.P .deps/history.P .deps/input.P .deps/invlib.P \ ! .deps/logdir.P .deps/lookup.P .deps/main.P .deps/mouse.P \ ! .deps/mygetenv.P .deps/mypopen.P .deps/scanner.P .deps/vpaccess.P \ ! .deps/vpfopen.P .deps/vpinit.P .deps/vpopen.P ! SOURCES = $(cscope_SOURCES) $(EXTRA_cscope_SOURCES) OBJECTS = $(cscope_OBJECTS) *************** *** 119,125 **** .SUFFIXES: .S .c .l .o .s .y $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) ! cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile ! Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status --- 137,143 ---- .SUFFIXES: .S .c .l .o .s .y $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) ! cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile ! Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status *************** *** 151,157 **** done - .c.o: - $(COMPILE) -c $< - .s.o: $(COMPILE) -c $< --- 169,172 ---- *************** *** 174,178 **** $(LINK) $(cscope_LDFLAGS) $(cscope_OBJECTS) $(cscope_LDADD) $(LIBS) .l.c: ! $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@ .y.c: $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c --- 189,193 ---- $(LINK) $(cscope_LDFLAGS) $(cscope_OBJECTS) $(cscope_LDADD) $(LIBS) .l.c: ! $(SHELL) $(YLWRAP) "$(LEX)" $< $(LEX_OUTPUT_ROOT).c $@ -- $(AM_LFLAGS) $(LFLAGS) .y.c: $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c *************** *** 217,224 **** distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ ! cp -pr $$/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ --- 232,244 ---- distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ ! cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ *************** *** 228,231 **** --- 248,283 ---- done $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook + + DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + + -include $(DEP_FILES) + + mostlyclean-depend: + + clean-depend: + + distclean-depend: + -rm -rf .deps + + maintainer-clean-depend: + + %.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + + %.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp info-am: info: info-am *************** *** 265,281 **** maintainer-clean-generic: ! -test -z "scannerlegrephegrepc$(BUILT_SOURCES)" || rm -f scannerl egreph egrepc $(BUILT_SOURCES) mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ ! mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-am ! clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \ ! mostlyclean-am clean: clean-am distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ ! distclean-generic clean-am distclean: distclean-am --- 317,333 ---- maintainer-clean-generic: ! -test -z "fscannerlscannerlegrephegrepc" || rm -f fscannerl scannerl egreph egrepc mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ ! mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am ! clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ ! clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ ! distclean-depend distclean-generic clean-am distclean: distclean-am *************** *** 283,287 **** maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ ! maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." --- 335,340 ---- maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ ! maintainer-clean-depend maintainer-clean-generic \ ! distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." *************** *** 293,305 **** mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ ! clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ ! check-am installcheck-am installcheck install-exec-am install-exec \ ! install-data-am install-data install-am install uninstall-am uninstall \ ! all-redirect all-am all installdirs mostlyclean-generic \ ! distclean-generic clean-generic maintainer-clean-generic clean \ ! mostlyclean distclean maintainer-clean dist-hook: ! rm -f $(distdir)/scanner.c $(distdir)/egrep.c # Tell versions [3.59,3.63) of GNU make to not export all variables. --- 346,359 ---- mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ ! clean-tags maintainer-clean-tags distdir mostlyclean-depend \ ! distclean-depend clean-depend maintainer-clean-depend info-am info \ ! dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ ! install-exec install-data-am install-data install-am install \ ! uninstall-am uninstall all-redirect all-am all installdirs \ ! mostlyclean-generic distclean-generic clean-generic \ ! maintainer-clean-generic clean mostlyclean distclean maintainer-clean dist-hook: ! rm -f $(distdir)/scanner.c $(distdir)/fscanner.c $(distdir)/egrep.c # Tell versions [3.59,3.63) of GNU make to not export all variables. |
From: Hans-Bernhard B. <br...@us...> - 2001-06-27 16:42:28
|
Update of /cvsroot/cscope/cscope/doc In directory usw-pr-cvs1:/tmp/cvs-serv11781/doc Modified Files: Makefile.in Log Message: Autoconf/Automake files regenerated Index: Makefile.in =================================================================== RCS file: /cvsroot/cscope/cscope/doc/Makefile.in,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Makefile.in 2000/04/27 16:33:47 1.1 --- Makefile.in 2001/06/27 16:42:25 1.2 *************** *** 64,67 **** --- 64,69 ---- CURSES_LIBS = @CURSES_LIBS@ LEX = @LEX@ + LEXLIB = @LEXLIB@ + LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ *************** *** 88,94 **** .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) ! cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile ! Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status --- 90,96 ---- .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) ! cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile ! Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status *************** *** 142,149 **** distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ ! cp -pr $$/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ --- 144,156 ---- distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ ! cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ |
From: Hans-Bernhard B. <br...@us...> - 2001-06-27 16:42:28
|
Update of /cvsroot/cscope/cscope In directory usw-pr-cvs1:/tmp/cvs-serv11781 Modified Files: Makefile.in aclocal.m4 config.h.in configure Log Message: Autoconf/Automake files regenerated Index: Makefile.in =================================================================== RCS file: /cvsroot/cscope/cscope/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** Makefile.in 2000/05/19 01:50:53 1.2 --- Makefile.in 2001/06/27 16:42:25 1.3 *************** *** 64,67 **** --- 64,69 ---- CURSES_LIBS = @CURSES_LIBS@ LEX = @LEX@ + LEXLIB = @LEXLIB@ + LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ *************** *** 71,75 **** SUBDIRS = doc src contrib ! EXTRA_DIST = contrib/README contrib/ocs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs --- 73,77 ---- SUBDIRS = doc src contrib ! EXTRA_DIST = packages ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs *************** *** 89,95 **** .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) ! cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile ! Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status --- 91,97 ---- .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) ! cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile ! Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status *************** *** 258,266 **** mkdir $(distdir) -chmod 777 $(distdir) ! $(mkinstalldirs) $(distdir)/contrib @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ ! cp -pr $$/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ --- 260,272 ---- mkdir $(distdir) -chmod 777 $(distdir) ! here=`cd $(top_builddir) && pwd`; \ ! top_distdir=`cd $(distdir) && pwd`; \ ! distdir=`cd $(distdir) && pwd`; \ ! cd $(top_srcdir) \ ! && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ ! cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ Index: aclocal.m4 =================================================================== RCS file: /cvsroot/cscope/cscope/aclocal.m4,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** aclocal.m4 2000/04/27 15:54:13 1.1 --- aclocal.m4 2001/06/27 16:42:25 1.2 *************** *** 126,138 **** changequote([,]))]) - - dnl AM_PROG_LEX - dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT - AC_DEFUN(AM_PROG_LEX, - [missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1) - AC_CHECK_PROGS(LEX, flex lex, "$missing_dir/missing flex") - AC_PROG_LEX - AC_DECL_YYTEXT]) - # Define a conditional. --- 126,129 ---- *************** *** 147,149 **** --- 138,149 ---- $1_FALSE= fi]) + + + dnl AM_PROG_LEX + dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT + AC_DEFUN(AM_PROG_LEX, + [missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1) + AC_CHECK_PROGS(LEX, flex lex, "$missing_dir/missing flex") + AC_PROG_LEX + AC_DECL_YYTEXT]) Index: config.h.in =================================================================== RCS file: /cvsroot/cscope/cscope/config.h.in,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** config.h.in 2001/06/01 12:44:36 1.6 --- config.h.in 2001/06/27 16:42:25 1.7 *************** *** 103,107 **** #undef VERSION ! /* Define if yytext' as a char'. */ #undef YYTEXT_POINTER --- 103,108 ---- #undef VERSION ! /* Define if lex declares yytext as a char * by default, ! not a char. */ #undef YYTEXT_POINTER Index: configure =================================================================== RCS file: /cvsroot/cscope/cscope/configure,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** configure 2000/11/20 20:07:24 1.9 --- configure 2001/06/27 16:42:25 1.10 *************** *** 712,716 **** PACKAGE=cscope ! VERSION=15.1 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then --- 712,716 ---- PACKAGE=cscope ! VERSION=15.2b if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then *************** *** 1453,1457 **** --- 1453,1472 ---- fi + if test "x$LEX" = "xlex" ; then + cat >> confdefs.h <<\EOF + #define USING_LEX 1 + EOF + + fi + + + if test "x$LEX" = "xlex"; then + USING_LEX_TRUE= + USING_LEX_FALSE='#' + else + USING_LEX_TRUE='#' + USING_LEX_FALSE= + fi if false; then missing_dir=`cd $ac_aux_dir && pwd` *************** *** 1461,1465 **** set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1464: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1476,1480 ---- set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1479: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1494,1498 **** set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1497: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1509,1513 ---- set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1512: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1528,1532 **** esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 ! echo "configure:1531: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then --- 1543,1547 ---- esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 ! echo "configure:1546: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then *************** *** 1536,1540 **** LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext <<EOF ! #line 1539 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ --- 1551,1555 ---- LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext <<EOF ! #line 1554 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ *************** *** 1547,1551 **** ; return 0; } EOF ! if { (eval echo configure:1550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" --- 1562,1566 ---- ; return 0; } EOF ! if { (eval echo configure:1565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" *************** *** 1570,1574 **** echo $ac_n "checking lex output file root""... $ac_c" 1>&6 ! echo "configure:1573: checking lex output file root" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1585,1589 ---- echo $ac_n "checking lex output file root""... $ac_c" 1>&6 ! echo "configure:1588: checking lex output file root" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1591,1595 **** echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 ! echo "configure:1594: checking whether yytext is a pointer" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1606,1610 ---- echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 ! echo "configure:1609: checking whether yytext is a pointer" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1603,1607 **** LIBS="$LIBS $LEXLIB" cat > conftest.$ac_ext <<EOF ! #line 1606 "configure" #include "confdefs.h" `cat $LEX_OUTPUT_ROOT.c` --- 1618,1622 ---- LIBS="$LIBS $LEXLIB" cat > conftest.$ac_ext <<EOF ! #line 1621 "configure" #include "confdefs.h" `cat $LEX_OUTPUT_ROOT.c` *************** *** 1610,1614 **** ; return 0; } EOF ! if { (eval echo configure:1613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_prog_lex_yytext_pointer=yes --- 1625,1629 ---- ; return 0; } EOF ! if { (eval echo configure:1628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_prog_lex_yytext_pointer=yes *************** *** 1637,1641 **** set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1640: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1652,1656 ---- set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ! echo "configure:1655: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1668,1675 **** - if test "x$LEX" = "xflex"; then - LEX="$LEX -l" - fi - --- 1683,1686 ---- *************** *** 1831,1835 **** echo "checking "location of ncurses.h file"" 1>&6 ! echo "configure:1834: checking "location of ncurses.h file"" >&5 --- 1842,1846 ---- echo "checking "location of ncurses.h file"" 1>&6 ! echo "configure:1845: checking "location of ncurses.h file"" >&5 *************** *** 1971,1975 **** then cat > conftest.$ac_ext <<EOF ! #line 1974 "configure" #include "confdefs.h" #include <curses.h> --- 1982,1986 ---- then cat > conftest.$ac_ext <<EOF ! #line 1985 "configure" #include "confdefs.h" #include <curses.h> *************** *** 1997,2001 **** cat > conftest.$ac_ext <<EOF ! #line 2000 "configure" #include "confdefs.h" --- 2008,2012 ---- cat > conftest.$ac_ext <<EOF ! #line 2011 "configure" #include "confdefs.h" *************** *** 2062,2069 **** # check for ncurses version, to properly ifdef mouse-fix echo $ac_n "checking for ncurses version""... $ac_c" 1>&6 ! echo "configure:2065: checking for ncurses version" >&5 ncurses_version=unknown cat > conftest.$ac_ext <<EOF ! #line 2068 "configure" #include "confdefs.h" #ifdef RENAMED_NCURSES --- 2073,2080 ---- # check for ncurses version, to properly ifdef mouse-fix echo $ac_n "checking for ncurses version""... $ac_c" 1>&6 ! echo "configure:2076: checking for ncurses version" >&5 ncurses_version=unknown cat > conftest.$ac_ext <<EOF ! #line 2079 "configure" #include "confdefs.h" #ifdef RENAMED_NCURSES *************** *** 2123,2132 **** ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 ! echo "configure:2126: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2131 "configure" #include "confdefs.h" #include <sys/types.h> --- 2134,2143 ---- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 ! echo "configure:2137: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2142 "configure" #include "confdefs.h" #include <sys/types.h> *************** *** 2136,2140 **** ; return 0; } EOF ! if { (eval echo configure:2139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" --- 2147,2151 ---- ; return 0; } EOF ! if { (eval echo configure:2150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" *************** *** 2161,2165 **** if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 ! echo "configure:2164: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then --- 2172,2176 ---- if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 ! echo "configure:2175: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then *************** *** 2169,2173 **** LIBS="-ldir $LIBS" cat > conftest.$ac_ext <<EOF ! #line 2172 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ --- 2180,2184 ---- LIBS="-ldir $LIBS" cat > conftest.$ac_ext <<EOF ! #line 2183 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ *************** *** 2180,2184 **** ; return 0; } EOF ! if { (eval echo configure:2183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" --- 2191,2195 ---- ; return 0; } EOF ! if { (eval echo configure:2194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" *************** *** 2202,2206 **** else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:2205: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then --- 2213,2217 ---- else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 ! echo "configure:2216: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then *************** *** 2210,2214 **** LIBS="-lx $LIBS" cat > conftest.$ac_ext <<EOF ! #line 2213 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ --- 2221,2225 ---- LIBS="-lx $LIBS" cat > conftest.$ac_ext <<EOF ! #line 2224 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ *************** *** 2221,2225 **** ; return 0; } EOF ! if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" --- 2232,2236 ---- ; return 0; } EOF ! if { (eval echo configure:2235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" *************** *** 2244,2253 **** echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:2247: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2252 "configure" #include "confdefs.h" #include <stdlib.h> --- 2255,2264 ---- echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 ! echo "configure:2258: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2263 "configure" #include "confdefs.h" #include <stdlib.h> *************** *** 2257,2261 **** EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:2260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then --- 2268,2272 ---- EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:2271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then *************** *** 2274,2278 **** # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext <<EOF ! #line 2277 "configure" #include "confdefs.h" #include <string.h> --- 2285,2289 ---- # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext <<EOF ! #line 2288 "configure" #include "confdefs.h" #include <string.h> *************** *** 2292,2296 **** # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext <<EOF ! #line 2295 "configure" #include "confdefs.h" #include <stdlib.h> --- 2303,2307 ---- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext <<EOF ! #line 2306 "configure" #include "confdefs.h" #include <stdlib.h> *************** *** 2313,2317 **** else cat > conftest.$ac_ext <<EOF ! #line 2316 "configure" #include "confdefs.h" #include <ctype.h> --- 2324,2328 ---- else cat > conftest.$ac_ext <<EOF ! #line 2327 "configure" #include "confdefs.h" #include <ctype.h> *************** *** 2324,2328 **** EOF ! if { (eval echo configure:2327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : --- 2335,2339 ---- EOF ! if { (eval echo configure:2338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : *************** *** 2351,2365 **** ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:2354: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2359 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:2364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then --- 2362,2376 ---- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:2365: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2370 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:2375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then *************** *** 2389,2398 **** echo $ac_n "checking for working const""... $ac_c" 1>&6 ! echo "configure:2392: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2397 "configure" #include "confdefs.h" --- 2400,2409 ---- echo $ac_n "checking for working const""... $ac_c" 1>&6 ! echo "configure:2403: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2408 "configure" #include "confdefs.h" *************** *** 2443,2447 **** ; return 0; } EOF ! if { (eval echo configure:2446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes --- 2454,2458 ---- ; return 0; } EOF ! if { (eval echo configure:2457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes *************** *** 2464,2473 **** echo $ac_n "checking for mode_t""... $ac_c" 1>&6 ! echo "configure:2467: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2472 "configure" #include "confdefs.h" #include <sys/types.h> --- 2475,2484 ---- echo $ac_n "checking for mode_t""... $ac_c" 1>&6 ! echo "configure:2478: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2483 "configure" #include "confdefs.h" #include <sys/types.h> *************** *** 2497,2506 **** echo $ac_n "checking for pid_t""... $ac_c" 1>&6 ! echo "configure:2500: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2505 "configure" #include "confdefs.h" #include <sys/types.h> --- 2508,2517 ---- echo $ac_n "checking for pid_t""... $ac_c" 1>&6 ! echo "configure:2511: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2516 "configure" #include "confdefs.h" #include <sys/types.h> *************** *** 2530,2539 **** echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:2533: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2538 "configure" #include "confdefs.h" #include <sys/types.h> --- 2541,2550 ---- echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:2544: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2549 "configure" #include "confdefs.h" #include <sys/types.h> *************** *** 2564,2573 **** echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:2567: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2572 "configure" #include "confdefs.h" #include <sys/types.h> --- 2575,2584 ---- echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:2578: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2583 "configure" #include "confdefs.h" #include <sys/types.h> *************** *** 2586,2590 **** ; return 0; } EOF ! if { (eval echo configure:2589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void --- 2597,2601 ---- ; return 0; } EOF ! if { (eval echo configure:2600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void *************** *** 2604,2616 **** ! for ac_func in getcwd regcmp regcomp strerror vsnprintf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:2610: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2615 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, --- 2615,2627 ---- ! for ac_func in getcwd regcmp regcomp strerror vsnprintf snprintf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:2621: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF ! #line 2626 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, *************** *** 2635,2639 **** ; return 0; } EOF ! if { (eval echo configure:2638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" --- 2646,2650 ---- ; return 0; } EOF ! if { (eval echo configure:2649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" *************** *** 2667,2671 **** ;; ! netbsd*) cat >> confdefs.h <<\EOF #define BSD 1 --- 2678,2682 ---- ;; ! netbsd*|freebsd*|darwin*) cat >> confdefs.h <<\EOF #define BSD 1 *************** *** 2829,2832 **** --- 2840,2845 ---- s%@CPP@%$CPP%g s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g + s%@USING_LEX_TRUE@%$USING_LEX_TRUE%g + s%@USING_LEX_FALSE@%$USING_LEX_FALSE%g s%@YACC@%$YACC%g s%@CURSES_LIBS@%$CURSES_LIBS%g |
From: Hans-Bernhard B. <br...@us...> - 2001-06-27 16:07:42
|
Update of /cvsroot/cscope/cscope/src In directory usw-pr-cvs1:/tmp/cvs-serv4159 Modified Files: Makefile.am Log Message: Change def. of LEXER_SOURCE to avoid bug in target maintainer-clean-generic Index: Makefile.am =================================================================== RCS file: /cvsroot/cscope/cscope/src/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** Makefile.am 2001/06/27 15:51:26 1.6 --- Makefile.am 2001/06/27 16:07:40 1.7 *************** *** 4,13 **** if USING_LEX ! LEXER_SOURCE=scanner else ! LEXER_SOURCE=fscanner endif ! cscope_SOURCES = $(LEXER_SOURCE).l egrep.y \ alloc.c basename.c command.c compath.c constants.h crossref.c dir.c \ display.c edit.c exec.c find.c global.h help.c history.c input.c \ --- 4,13 ---- if USING_LEX ! LEXER_SOURCE=scanner.l else ! LEXER_SOURCE=fscanner.l endif ! cscope_SOURCES = $(LEXER_SOURCE) egrep.y \ alloc.c basename.c command.c compath.c constants.h crossref.c dir.c \ display.c edit.c exec.c find.c global.h help.c history.c input.c \ |
From: Hans-Bernhard B. <br...@us...> - 2001-06-27 15:53:45
|
Update of /cvsroot/cscope/cscope/src In directory usw-pr-cvs1:/tmp/cvs-serv1037/src Added Files: ylwrap Log Message: Added ylwrap script needed by automake, after recent changes --- NEW FILE --- #! /bin/sh # ylwrap - wrapper for lex/yacc invocations. # Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. # Written by Tom Tromey <tr...@cy...>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Usage: # ylwrap PROGRAM INPUT [OUTPUT DESIRED]... -- [ARGS]... # * PROGRAM is program to run. # * INPUT is the input file # * OUTPUT is file PROG generates # * DESIRED is file we actually want # * ARGS are passed to PROG # Any number of OUTPUT,DESIRED pairs may be used. # The program to run. prog="$1" shift # Make any relative path in $prog absolute. case "$prog" in /* | [A-Za-z]:\\*) ;; */*) prog="`pwd`/$prog" ;; esac # The input. input="$1" shift case "$input" in /* | [A-Za-z]:\\*) # Absolute path; do nothing. ;; *) # Relative path. Make it absolute. Why? Because otherwise any # debugging info in the generated file will point to the wrong # place. This is really gross. input="`pwd`/$input" ;; esac # We don't want to use the absolute path if the input in the current # directory like when making a tar ball. input_base=`echo $input | sed -e 's|.*/||'` if test -f $input_base && cmp $input_base $input >/dev/null 2>&1; then input=$input_base fi pairlist= while test "$#" -ne 0; do if test "$1" = "--"; then shift break fi pairlist="$pairlist $1" shift done # FIXME: add hostname here for parallel makes that run commands on # other machines. But that might take us over the 14-char limit. dirname=ylwrap$$ trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15 mkdir $dirname || exit 1 cd $dirname case "$input" in /* | [A-Za-z]:\\*) # Absolute path; do nothing. ;; *) # Make a symbolic link, hard link or hardcopy. ln -s ../"$input" . > /dev/null 2>&1 || ln ../"$input" . > /dev/null 2>&1 || cp ../"$input" . ;; esac $prog ${1+"$@"} "$input" status=$? if test $status -eq 0; then set X $pairlist shift first=yes while test "$#" -ne 0; do if test -f "$1"; then # If $2 is an absolute path name, then just use that, # otherwise prepend `../'. case "$2" in /* | [A-Za-z]:\\*) target="$2";; *) target="../$2";; esac mv "$1" "$target" || status=$? else # A missing file is only an error for the first file. This # is a blatant hack to let us support using "yacc -d". If -d # is not specified, we don't want an error when the header # file is "missing". if test $first = yes; then status=1 fi fi shift shift first=no done else status=$? fi # Remove the directory. cd .. rm -rf $dirname exit $status |