From: Hans-Bernhard B. <br...@us...> - 2003-01-23 17:46:27
|
Update of /cvsroot/cscope/cscope In directory sc8-pr-cvs1:/tmp/cvs-serv3543 Modified Files: config.h.in configure configure.in Log Message: Make USING_LEX available to the compiled sources, again. Index: config.h.in =================================================================== RCS file: /cvsroot/cscope/cscope/config.h.in,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** config.h.in 23 Jan 2003 17:30:40 -0000 1.13 --- config.h.in 23 Jan 2003 17:46:15 -0000 1.14 *************** *** 146,149 **** --- 146,152 ---- #undef USE_SYSV_CURSES + /* Define this if the scanner is run through lex, not flex */ + #undef USING_LEX + /* Version number of package */ #undef VERSION Index: configure =================================================================== RCS file: /cvsroot/cscope/cscope/configure,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** configure 23 Jan 2003 17:30:41 -0000 1.19 --- configure 23 Jan 2003 17:46:16 -0000 1.20 *************** *** 3080,3083 **** --- 3080,3089 ---- fi + if test "x$LEX" = "xlex" ; then + cat >>confdefs.h <<\_ACEOF + #define USING_LEX 1 + _ACEOF + + fi for ac_prog in 'bison -y' byacc do *************** *** 3794,3798 **** ncurses_version=unknown cat > conftest.$ac_ext <<EOF ! #line 3796 "configure" #include "confdefs.h" #ifdef RENAMED_NCURSES --- 3800,3804 ---- ncurses_version=unknown cat > conftest.$ac_ext <<EOF ! #line 3802 "configure" #include "confdefs.h" #ifdef RENAMED_NCURSES Index: configure.in =================================================================== RCS file: /cvsroot/cscope/cscope/configure.in,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -r1.26 -r1.27 *** configure.in 23 Jan 2003 17:30:43 -0000 1.26 --- configure.in 23 Jan 2003 17:46:19 -0000 1.27 *************** *** 18,21 **** --- 18,24 ---- AC_PROG_LEX AM_CONDITIONAL(USING_LEX, test "x$LEX" = "xlex") + if test "x$LEX" = "xlex" ; then AC_DEFINE(USING_LEX, 1, + [Define this if the scanner is run through lex, not flex]) + fi AC_PROG_YACC |