[lwatch-cvs] files ChangeLog,1.24,1.25 README,1.24,1.25 TODO,1.35,1.36 configure.ac,1.42,1.43
Brought to you by:
arturcz
|
From: Artur R. C. <ar...@us...> - 2004-08-11 22:56:18
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8468 Modified Files: ChangeLog README TODO configure.ac Log Message: --with-pcre option added Updated README Regenerated autotools dependent files Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** README 10 Aug 2004 14:09:52 -0000 1.24 --- README 11 Aug 2004 22:56:08 -0000 1.25 *************** *** 48,60 **** - LIBS specifies additional libraries which lwatch should be linked with ! If you have includes/libraries in non-standard directories you can run (for example): ! CPPFLAGS="-I/opt/include" LDFLAGS="-L/opt/lib" ./configure ! CPPFLAGS="-I/opt/include" LDFLAGS="-L/opt/lib" make ! make install If you have non-standard library which contains (i.e.) getopt_long run: ! LIBS="-lgnugetopt" ./configure ! LIBS="-lgnugetopt" make Set also CPPFLAGS and LDFLAGS if needed --- 48,62 ---- - LIBS specifies additional libraries which lwatch should be linked with ! If you have includes/libraries in non-standard directories there are two cases. ! 1) Header files are in /any/directory/include and libraries are in /any/directory/lib ! In this case just add --with-libFOO=/any/directory to ./configure, for example: ! ./configure --with-libpcre=/opt ! 2) Above is not true. Then you should specify proper directories manually with CPPFLAGS ! and LDFLAGS, for example (for example): ! ./configure CPPFLAGS="-I/opt/include" LDFLAGS="-L/opt/lib" If you have non-standard library which contains (i.e.) getopt_long run: ! ./configure LIBS="-lgnugetopt" Set also CPPFLAGS and LDFLAGS if needed Index: configure.ac =================================================================== RCS file: /cvsroot/lwatch/files/configure.ac,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** configure.ac 10 Aug 2004 14:34:48 -0000 1.42 --- configure.ac 11 Aug 2004 22:56:08 -0000 1.43 *************** *** 94,97 **** --- 94,113 ---- fi + + AC_MSG_CHECKING(for directory with libpcre) + AC_ARG_WITH(libpcre,AC_HELP_STRING([--with-libpcre=DIR],[directory with libpcre]),,[withval="yes"]) + if test "$withval" = "no"; then + AC_MSG_RESULT(no) + AC_MSG_ERROR([Hey! We _want_ to use libpcre!]) + else + if test "$withval" = "yes"; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT([yes, $withval]) + AC_CHECK_FILE($withval/include,CPPFLAGS="${CPPFLAGS} -I${withval}/include",AC_MSG_ERROR([$withval/include does not exist])) + AC_CHECK_FILE($withval/lib,LDFLAGS="${LDFLAGS} -L${withval}/lib",AC_MSG_ERROR([$withval/lib does not exist])) + fi + fi + # Checks for header files. AC_HEADER_STDC *************** *** 116,120 **** fi - # Define autoheader templates # Checks for user options --- 132,135 ---- *************** *** 138,141 **** --- 153,157 ---- fi + arc_sysconfdir=`eval echo $sysconfdir` AC_DEFINE_UNQUOTED(SYSCONFDIR,"$arc_sysconfdir") Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** TODO 11 Aug 2004 13:39:39 -0000 1.35 --- TODO 11 Aug 2004 22:56:08 -0000 1.36 *************** *** 3,7 **** Now (for 0.4): - - configure: --with-pcre support - optional syslog support - debug/error messages should be printed to stderr/syslog --- 3,6 ---- Index: ChangeLog =================================================================== RCS file: /cvsroot/lwatch/files/ChangeLog,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** ChangeLog 11 Aug 2004 12:06:24 -0000 1.24 --- ChangeLog 11 Aug 2004 22:56:08 -0000 1.25 *************** *** 8,11 **** --- 8,12 ---- without version (arturcz) - complete user manual (arturcz) + - configure: --with-pcre support (arturcz) 0.3: - --fifo and -f are deprecated, use --input and -i instead (arturcz) |