lwatch-cvs Mailing List for Log Watcher (Page 9)
Brought to you by:
arturcz
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
(22) |
Aug
(11) |
Sep
(5) |
Oct
|
Nov
(4) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(5) |
Feb
(29) |
Mar
(85) |
Apr
(45) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
(30) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(55) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2005 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
(6) |
Mar
(12) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
| 2010 |
Jan
|
Feb
(15) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <ar...@us...> - 2003-03-27 11:54:50
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv20090 Modified Files: README Log Message: - xinu's email Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** README 26 Mar 2003 21:10:25 -0000 1.11 --- README 27 Mar 2003 11:54:46 -0000 1.12 *************** *** 70,74 **** * Cygwin Bartek Tomczak told me that lwatch compiles and runs on cygwin without ! any problemes. You can contact him at FIXME * FreeBSD --- 70,74 ---- * Cygwin Bartek Tomczak told me that lwatch compiles and runs on cygwin without ! any problemes. You can contact him at xi...@bl... * FreeBSD |
|
From: <ar...@us...> - 2003-03-26 21:10:34
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv20615 Modified Files: README Log Message: - small correct about SunOS Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** README 26 Mar 2003 13:29:01 -0000 1.10 --- README 26 Mar 2003 21:10:25 -0000 1.11 *************** *** 83,87 **** http://sources.redhat.com/ml/automake/2000-08/msg00013.html http://sunfreeware.com/programlistsparc8.html#libiberty ! and try: LIBS="-liberty" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure LIBS="-liberty" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" make --- 83,87 ---- http://sources.redhat.com/ml/automake/2000-08/msg00013.html http://sunfreeware.com/programlistsparc8.html#libiberty ! install libiberty and try: LIBS="-liberty" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure LIBS="-liberty" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" make |
|
From: <ar...@us...> - 2003-03-26 13:29:11
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv12395a Modified Files: README Log Message: - more information about SunOS (libiberty) Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** README 26 Mar 2003 12:13:10 -0000 1.9 --- README 26 Mar 2003 13:29:01 -0000 1.10 *************** *** 80,87 **** * Solaris - not tested ! Read http://sources.redhat.com/ml/automake/2000-08/msg00013.html and try: ! LIBS="-liberty" ./configure ! LIBS="-liberty" make and, please, notify me is it works. --- 80,90 ---- * Solaris - not tested ! Read following resources: ! http://sources.redhat.com/ml/automake/2000-08/msg00013.html ! http://sunfreeware.com/programlistsparc8.html#libiberty and try: ! LIBS="-liberty" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure ! LIBS="-liberty" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" make ! make install and, please, notify me is it works. |
|
From: <ar...@us...> - 2003-03-26 12:13:23
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv11924 Modified Files: README Log Message: - some OS specific info (Solaris) Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** README 25 Mar 2003 16:25:39 -0000 1.8 --- README 26 Mar 2003 12:13:10 -0000 1.9 *************** *** 34,37 **** --- 34,58 ---- inform me how you compiled/linked lwatch. + In most cases (assume, that you have required libriaries) + ./configure + make + make install + should work. If not can set following environment variables: + - CPPFLAGS specifies additional directories where headers files are searched + - LDFLAGS specifies additional directories where libraries are searched + - LIBS specifies additional libraries which lwatch should be linked with(FIXME) + + If you have a 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 + Default input file is /dev/lwatch. You can change it running: configure --enable-input=/other/file *************** *** 47,53 **** ============================================ ! * Cygwin. ! I received info about compiling and running lwatch under Cygwin but I do not ! know any details. * FreeBSD --- 68,74 ---- ============================================ ! * Cygwin ! Bartek Tomczak told me that lwatch compiles and runs on cygwin without ! any problemes. You can contact him at FIXME * FreeBSD *************** *** 57,60 **** --- 78,88 ---- * Linux No additional packages required. + + * Solaris - not tested + Read http://sources.redhat.com/ml/automake/2000-08/msg00013.html + and try: + LIBS="-liberty" ./configure + LIBS="-liberty" make + and, please, notify me is it works. * MS Windows |
|
From: <ar...@us...> - 2003-03-25 16:26:14
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv18193 Modified Files: README Log Message: - more system specific info Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** README 25 Mar 2003 13:15:47 -0000 1.7 --- README 25 Mar 2003 16:25:39 -0000 1.8 *************** *** 15,21 **** For me it works with libpcre 3.4. - I have tested this software only on linux, but for other platforms it also - should compile. - This package uses autotools. You can change all paths and directories running configure with proper options. --- 15,18 ---- *************** *** 23,33 **** and binary. If not, please submit a bug (see BUGS for details). Default input file is /dev/lwatch. You can change it running: configure --enable-input=/other/file What do you think about adding proper entries into syslog/syslog-ng ! configuration file? ! If you add this piece of software into any distrubution make me a favour and, ! please, send me an email notice about it. ============================================ --- 20,45 ---- and binary. If not, please submit a bug (see BUGS for details). + If you want to use CVS snapshot you need autoconf 2.57. + Automake 1.7 is not necessary. You may safely ignore messages about + its lack until Makefile.am, acinclude.m4 and configure.ac is not modified. + + System manual has been written in SGML DocBook. You need any docbook->man + converter to generate proper manual page. For now configure supports + only docbook-to-man available at: + http://www.oasis-open.org/docbook/tools/dtm/docbook-to-man.tar.gz + + Log Watcher uses getopt_long function. Some unices have it included + in libc (specially glibc based ones), some have it in other libraries + and some have not. If you use one of two last flavour of unices, please, + inform me how you compiled/linked lwatch. + Default input file is /dev/lwatch. You can change it running: configure --enable-input=/other/file What do you think about adding proper entries into syslog/syslog-ng ! configuration file during package installation? ! If you add this piece of software into any distrubution make me a favour ! and, please, send me an email notice about it. You can find my email ! address in AUTHORS file. ============================================ *************** *** 36,40 **** * Cygwin. ! I received info about compiling and running lwatch under Cygwin. * FreeBSD --- 48,53 ---- * Cygwin. ! I received info about compiling and running lwatch under Cygwin but I do not ! know any details. * FreeBSD *************** *** 44,45 **** --- 57,63 ---- * Linux No additional packages required. + + * MS Windows + There is no native Windows port of lwatch. If you want to use it under MS Win + install Cygwin from http://www.cygwin.com/ and read a note about Cygwin in this + README. |
|
From: <ar...@us...> - 2003-03-25 15:01:22
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv28596 Modified Files: TODO Log Message: - new feature Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** TODO 25 Mar 2003 13:15:47 -0000 1.11 --- TODO 25 Mar 2003 15:01:11 -0000 1.12 *************** *** 22,25 **** --- 22,26 ---- - running external program as action - take color codes from termcap (slang? ncurses?) + - dealing with ip's in logs If you have any feature request not presented here look at: |
|
From: <ar...@us...> - 2003-03-25 13:15:54
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1:/tmp/cvs-serv4311/doc Modified Files: lwatch.1.in Log Message: - FreeBSD port Index: lwatch.1.in =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.1.in,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** lwatch.1.in 24 Mar 2003 15:38:26 -0000 1.10 --- lwatch.1.in 25 Mar 2003 13:15:48 -0000 1.11 *************** *** 150,152 **** ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ ! ...\" created by instant / docbook-to-man, Mon 24 Mar 2003, 15:24 --- 150,152 ---- ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ ! ...\" created by instant / docbook-to-man, Tue 25 Mar 2003, 13:12 |
|
From: <ar...@us...> - 2003-03-25 13:15:54
|
Update of /cvsroot/lwatch/files
In directory sc8-pr-cvs1:/tmp/cvs-serv4311
Modified Files:
AUTHORS ChangeLog NEWS README TODO configure configure.ac
Log Message:
- FreeBSD port
Index: AUTHORS
===================================================================
RCS file: /cvsroot/lwatch/files/AUTHORS,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** AUTHORS 24 Mar 2003 15:38:24 -0000 1.5
--- AUTHORS 25 Mar 2003 13:15:46 -0000 1.6
***************
*** 3,9 ****
Artur R. Czechowski <ar...@he...> - designer, main programmer
! Andrzej Oszer <os...@po...> - autotools support
I would like to thank to some people who have helped me significantly with this project:
- Karolina Gajkowska <ka...@bl...>
- Dawid "QNeX" Kuroczko
--- 3,10 ----
Artur R. Czechowski <ar...@he...> - designer, main programmer
! Andrzej Oszer <os...@po...> - autotools support, beta tester
I would like to thank to some people who have helped me significantly with this project:
- Karolina Gajkowska <ka...@bl...>
+ - Krzysztof "Borys" Kowalik <kko...@uc...>
- Dawid "QNeX" Kuroczko
Index: ChangeLog
===================================================================
RCS file: /cvsroot/lwatch/files/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ChangeLog 24 Mar 2003 22:58:48 -0000 1.10
--- ChangeLog 25 Mar 2003 13:15:47 -0000 1.11
***************
*** 1,3 ****
--- 1,4 ----
0.3: new tests in ./configure (getopt_long)
+ FreeBSD port
Index: NEWS
===================================================================
RCS file: /cvsroot/lwatch/files/NEWS,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** NEWS 24 Mar 2003 15:38:25 -0000 1.3
--- NEWS 25 Mar 2003 13:15:47 -0000 1.4
***************
*** 1,2 ****
--- 1,5 ----
+ 2003.03.25
+ FreeBSD port is ready in CVS
+
2003.03.24
lwatch v.0.2 has been released, see Changelog for changes
Index: README
===================================================================
RCS file: /cvsroot/lwatch/files/README,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** README 24 Mar 2003 23:29:24 -0000 1.6
--- README 25 Mar 2003 13:15:47 -0000 1.7
***************
*** 36,45 ****
* Cygwin.
! There are people which compile lwatch on cygwin and say that it works.
! * Free BSD
! CFLAGS="-I/usr/local/include" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -lgnugetopt" ./configure
! CFLAGS="-I/usr/local/include" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -lgnugetopt" gmake
! Install libgnugetopt
* Linux
--- 36,44 ----
* Cygwin.
! I received info about compiling and running lwatch under Cygwin.
! * FreeBSD
! Install libgnugetopt (1.2 works for me)
! Use `gmake' instead of `make'
* Linux
Index: TODO
===================================================================
RCS file: /cvsroot/lwatch/files/TODO,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** TODO 24 Mar 2003 23:42:13 -0000 1.10
--- TODO 25 Mar 2003 13:15:47 -0000 1.11
***************
*** 11,15 ****
Later:
- configure: --with-pcre support
- - dealing with getopt
- documentation for lwatch.conf
- versioning of configuration file
--- 11,14 ----
Index: configure
===================================================================
RCS file: /cvsroot/lwatch/files/configure,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** configure 25 Mar 2003 11:30:11 -0000 1.32
--- configure 25 Mar 2003 13:15:47 -0000 1.33
***************
*** 1,4 ****
#! /bin/sh
! # From configure.ac Revision: 1.26 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for lwatch 0.2.
--- 1,4 ----
#! /bin/sh
! # From configure.ac Revision: 1.27 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for lwatch 0.2.
***************
*** 1785,1797 ****
case $target in
*-*-*bsd*)
- #CFLAGS="${CFLAGS} -I/usr/local/include"
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
LDFLAGS="${LDFLAGS} -L/usr/local/lib"
! echo "$as_me:$LINENO: result: BSD flavour. Searching for includes and libs in /usr/local" >&5
! echo "${ECHO_T}BSD flavour. Searching for includes and libs in /usr/local" >&6
;;
*)
! echo "$as_me:$LINENO: result: No special directories" >&5
! echo "${ECHO_T}No special directories" >&6
;;
esac
--- 1785,1796 ----
case $target in
*-*-*bsd*)
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
LDFLAGS="${LDFLAGS} -L/usr/local/lib"
! echo "$as_me:$LINENO: result: add /usr/local" >&5
! echo "${ECHO_T}add /usr/local" >&6
;;
*)
! echo "$as_me:$LINENO: result: none" >&5
! echo "${ECHO_T}none" >&6
;;
esac
***************
*** 4710,4715 ****
!
! for ac_func in getopt_long memset strcasecmp strchr
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
--- 4709,4713 ----
! for ac_func in memset strcasecmp strchr
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
***************
*** 4795,4798 ****
--- 4793,4936 ----
+ # SSSSSSSS
+ echo "$as_me:$LINENO: checking for getopt_long" >&5
+ echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6
+ if test "${ac_cv_func_getopt_long+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+ /* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char getopt_long (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+ #ifdef __STDC__
+ # include <limits.h>
+ #else
+ # include <assert.h>
+ #endif
+ /* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ {
+ #endif
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+ char getopt_long ();
+ /* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+ #if defined (__stub_getopt_long) || defined (__stub___getopt_long)
+ choke me
+ #else
+ char (*f) () = getopt_long;
+ #endif
+ #ifdef __cplusplus
+ }
+ #endif
+
+ int
+ main ()
+ {
+ return f != getopt_long;
+ ;
+ return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_func_getopt_long=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_getopt_long=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
+ echo "${ECHO_T}$ac_cv_func_getopt_long" >&6
+
+ if test "$ac_cv_func_getopt_long" = "no"; then
+ echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
+ echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
+ if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lgnugetopt $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+ /* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+ char getopt_long ();
+ int
+ main ()
+ {
+ getopt_long ();
+ ;
+ return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_lib_gnugetopt_getopt_long=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_gnugetopt_getopt_long=no
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
+ echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
+ if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
+ LIBS="${LIBS} -lgnugetopt"
+ else
+ { { echo "$as_me:$LINENO: error: Error: getopt_long unavailable" >&5
+ echo "$as_me: error: Error: getopt_long unavailable" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+ fi
+
+
# Define autoheader templates
# Checks for user options
***************
*** 4855,4863 ****
_ACEOF
-
- #AC_MSG_CHECKING(for additional include directories)
- #AC_ARG_WITH(include-dir,
- # AC_HELP_STRING([--with-include-dir=dir1:dir2:dir3...],[Searching for headers in this directory]),withval="")
- #AC_MSG_RESULT(:$withval:)
# Epilog
--- 4993,4996 ----
Index: configure.ac
===================================================================
RCS file: /cvsroot/lwatch/files/configure.ac,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** configure.ac 25 Mar 2003 11:30:13 -0000 1.27
--- configure.ac 25 Mar 2003 13:15:47 -0000 1.28
***************
*** 37,47 ****
case $target in
*-*-*bsd*)
- #CFLAGS="${CFLAGS} -I/usr/local/include"
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
LDFLAGS="${LDFLAGS} -L/usr/local/lib"
! AC_MSG_RESULT(BSD flavour. Searching for includes and libs in /usr/local)
;;
*)
! AC_MSG_RESULT(No special directories)
;;
esac
--- 37,46 ----
case $target in
*-*-*bsd*)
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
LDFLAGS="${LDFLAGS} -L/usr/local/lib"
! AC_MSG_RESULT(add /usr/local)
;;
*)
! AC_MSG_RESULT(none)
;;
esac
***************
*** 77,81 ****
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
! AC_CHECK_FUNCS([getopt_long memset strcasecmp strchr])
# Define autoheader templates
--- 76,87 ----
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
! AC_CHECK_FUNCS([memset strcasecmp strchr])
!
! # SSSSSSSS
! AC_CHECK_FUNC([getopt_long])
! if test "$ac_cv_func_getopt_long" = "no"; then
! AC_CHECK_LIB([gnugetopt],[getopt_long],LIBS="${LIBS} -lgnugetopt",AC_MSG_ERROR([Error: getopt_long unavailable]))
! fi
!
# Define autoheader templates
***************
*** 108,116 ****
AC_SUBST(INPUTFILE)
AC_DEFINE_UNQUOTED(INPUTFILE,"${INPUTFILE}")
-
- #AC_MSG_CHECKING(for additional include directories)
- #AC_ARG_WITH(include-dir,
- # AC_HELP_STRING([--with-include-dir=dir1:dir2:dir3...],[Searching for headers in this directory]),withval="")
- #AC_MSG_RESULT(:$withval:)
# Epilog
--- 114,117 ----
|
|
From: <ar...@us...> - 2003-03-25 13:15:54
|
Update of /cvsroot/lwatch/files/src In directory sc8-pr-cvs1:/tmp/cvs-serv4311/src Modified Files: config.h.in Log Message: - FreeBSD port Index: config.h.in =================================================================== RCS file: /cvsroot/lwatch/files/src/config.h.in,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** config.h.in 24 Mar 2003 22:31:54 -0000 1.12 --- config.h.in 25 Mar 2003 13:15:48 -0000 1.13 *************** *** 16,22 **** #undef HAVE_GETOPT_H - /* Define to 1 if you have the `getopt_long' function. */ - #undef HAVE_GETOPT_LONG - /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H --- 16,19 ---- |
|
From: <ar...@us...> - 2003-03-25 11:30:24
|
Update of /cvsroot/lwatch/files
In directory sc8-pr-cvs1:/tmp/cvs-serv31515
Modified Files:
configure configure.ac
Log Message:
- CPPFLAGS instead CFLAGS for -I
Index: configure
===================================================================
RCS file: /cvsroot/lwatch/files/configure,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** configure 25 Mar 2003 11:22:23 -0000 1.31
--- configure 25 Mar 2003 11:30:11 -0000 1.32
***************
*** 1,4 ****
#! /bin/sh
! # From configure.ac Revision: 1.25 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for lwatch 0.2.
--- 1,4 ----
#! /bin/sh
! # From configure.ac Revision: 1.26 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for lwatch 0.2.
***************
*** 1785,1799 ****
case $target in
*-*-*bsd*)
! CFLAGS="${CFLAGS} -I/usr/local/include"
LDFLAGS="${LDFLAGS} -L/usr/local/lib"
! echo "$as_me:$LINENO: result: BSD flavour" >&5
! echo "${ECHO_T}BSD flavour" >&6
;;
*)
! echo "$as_me:$LINENO: result: \"No special directories\"" >&5
! echo "${ECHO_T}\"No special directories\"" >&6
;;
esac
-
# Checks for programs.
--- 1785,1799 ----
case $target in
*-*-*bsd*)
! #CFLAGS="${CFLAGS} -I/usr/local/include"
! CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
LDFLAGS="${LDFLAGS} -L/usr/local/lib"
! echo "$as_me:$LINENO: result: BSD flavour. Searching for includes and libs in /usr/local" >&5
! echo "${ECHO_T}BSD flavour. Searching for includes and libs in /usr/local" >&6
;;
*)
! echo "$as_me:$LINENO: result: No special directories" >&5
! echo "${ECHO_T}No special directories" >&6
;;
esac
# Checks for programs.
Index: configure.ac
===================================================================
RCS file: /cvsroot/lwatch/files/configure.ac,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** configure.ac 25 Mar 2003 11:22:24 -0000 1.26
--- configure.ac 25 Mar 2003 11:30:13 -0000 1.27
***************
*** 37,49 ****
case $target in
*-*-*bsd*)
! CFLAGS="${CFLAGS} -I/usr/local/include"
LDFLAGS="${LDFLAGS} -L/usr/local/lib"
! AC_MSG_RESULT(BSD flavour)
;;
*)
! AC_MSG_RESULT("No special directories")
;;
esac
-
# Checks for programs.
--- 37,49 ----
case $target in
*-*-*bsd*)
! #CFLAGS="${CFLAGS} -I/usr/local/include"
! CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
LDFLAGS="${LDFLAGS} -L/usr/local/lib"
! AC_MSG_RESULT(BSD flavour. Searching for includes and libs in /usr/local)
;;
*)
! AC_MSG_RESULT(No special directories)
;;
esac
# Checks for programs.
|
|
From: <ar...@us...> - 2003-03-25 11:22:30
|
Update of /cvsroot/lwatch/files
In directory sc8-pr-cvs1:/tmp/cvs-serv25407
Modified Files:
configure configure.ac
Log Message:
- typo
- some junk from output removed
Index: configure
===================================================================
RCS file: /cvsroot/lwatch/files/configure,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** configure 25 Mar 2003 11:16:17 -0000 1.30
--- configure 25 Mar 2003 11:22:23 -0000 1.31
***************
*** 1,4 ****
#! /bin/sh
! # From configure.ac Revision: 1.24 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for lwatch 0.2.
--- 1,4 ----
#! /bin/sh
! # From configure.ac Revision: 1.25 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for lwatch 0.2.
***************
*** 1786,1796 ****
*-*-*bsd*)
CFLAGS="${CFLAGS} -I/usr/local/include"
! LDFLAGS="${LDFLAGS} -I/usr/local/lib"
! echo "$as_me:$LINENO: result: \"*BSD detected\"" >&5
! echo "${ECHO_T}\"*BSD detected\"" >&6
! echo "$as_me:$LINENO: result: \"Added /usr/local/include to CFLAGS\"" >&5
! echo "${ECHO_T}\"Added /usr/local/include to CFLAGS\"" >&6
! echo "$as_me:$LINENO: result: \"Added /usr/local/lib to LDFLAGS\"" >&5
! echo "${ECHO_T}\"Added /usr/local/lib to LDFLAGS\"" >&6
;;
*)
--- 1786,1792 ----
*-*-*bsd*)
CFLAGS="${CFLAGS} -I/usr/local/include"
! LDFLAGS="${LDFLAGS} -L/usr/local/lib"
! echo "$as_me:$LINENO: result: BSD flavour" >&5
! echo "${ECHO_T}BSD flavour" >&6
;;
*)
Index: configure.ac
===================================================================
RCS file: /cvsroot/lwatch/files/configure.ac,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** configure.ac 25 Mar 2003 11:16:20 -0000 1.25
--- configure.ac 25 Mar 2003 11:22:24 -0000 1.26
***************
*** 38,45 ****
*-*-*bsd*)
CFLAGS="${CFLAGS} -I/usr/local/include"
! LDFLAGS="${LDFLAGS} -I/usr/local/lib"
! AC_MSG_RESULT("*BSD detected")
! AC_MSG_RESULT("Added /usr/local/include to CFLAGS")
! AC_MSG_RESULT("Added /usr/local/lib to LDFLAGS")
;;
*)
--- 38,43 ----
*-*-*bsd*)
CFLAGS="${CFLAGS} -I/usr/local/include"
! LDFLAGS="${LDFLAGS} -L/usr/local/lib"
! AC_MSG_RESULT(BSD flavour)
;;
*)
|
|
From: <ar...@us...> - 2003-03-25 11:16:28
|
Update of /cvsroot/lwatch/files
In directory sc8-pr-cvs1:/tmp/cvs-serv20681
Modified Files:
configure configure.ac
Log Message:
- platform specific directories
Index: configure
===================================================================
RCS file: /cvsroot/lwatch/files/configure,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** configure 25 Mar 2003 10:03:23 -0000 1.29
--- configure 25 Mar 2003 11:16:17 -0000 1.30
***************
*** 1,4 ****
#! /bin/sh
! # From configure.ac Revision: 1.23 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for lwatch 0.2.
--- 1,4 ----
#! /bin/sh
! # From configure.ac Revision: 1.24 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for lwatch 0.2.
***************
*** 1781,1788 ****
!
!
!
!
--- 1781,1802 ----
! echo "$as_me:$LINENO: checking for platform dependent directories" >&5
! echo $ECHO_N "checking for platform dependent directories... $ECHO_C" >&6
! case $target in
! *-*-*bsd*)
! CFLAGS="${CFLAGS} -I/usr/local/include"
! LDFLAGS="${LDFLAGS} -I/usr/local/lib"
! echo "$as_me:$LINENO: result: \"*BSD detected\"" >&5
! echo "${ECHO_T}\"*BSD detected\"" >&6
! echo "$as_me:$LINENO: result: \"Added /usr/local/include to CFLAGS\"" >&5
! echo "${ECHO_T}\"Added /usr/local/include to CFLAGS\"" >&6
! echo "$as_me:$LINENO: result: \"Added /usr/local/lib to LDFLAGS\"" >&5
! echo "${ECHO_T}\"Added /usr/local/lib to LDFLAGS\"" >&6
! ;;
! *)
! echo "$as_me:$LINENO: result: \"No special directories\"" >&5
! echo "${ECHO_T}\"No special directories\"" >&6
! ;;
! esac
***************
*** 3723,3727 ****
! for ac_header in errno.h fcntl.h signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/param.h sys/poll.h sys/stat.h sys/types.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
--- 3737,3743 ----
!
!
! for ac_header in errno.h fcntl.h getopt.h pcre.h signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/param.h sys/poll.h sys/stat.h sys/types.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
***************
*** 3865,3905 ****
-
-
-
- # Searching for include directory
- echo "$as_me:$LINENO: checking for location of getopt.h" >&5
- echo $ECHO_N "checking for location of getopt.h... $ECHO_C" >&6
- for d in /usr/include /usr/local/include; do
- if test -f "$d/getopt.h"; then
- CFLAGS="${CFLAGS} -I$d"
- cat >>confdefs.h <<_ACEOF
- #define HAVE_`echo getopt.h | tr "a-z." "A-Z_"` 1
- _ACEOF
-
- echo "$as_me:$LINENO: result: $d" >&5
- echo "${ECHO_T}$d" >&6
- break
- fi
- done
-
-
- # Searching for include directory
- echo "$as_me:$LINENO: checking for location of pcre.h" >&5
- echo $ECHO_N "checking for location of pcre.h... $ECHO_C" >&6
- for d in /usr/include /usr/local/include; do
- if test -f "$d/pcre.h"; then
- CFLAGS="${CFLAGS} -I$d"
- cat >>confdefs.h <<_ACEOF
- #define HAVE_`echo pcre.h | tr "a-z." "A-Z_"` 1
- _ACEOF
-
- echo "$as_me:$LINENO: result: $d" >&5
- echo "${ECHO_T}$d" >&6
- break
- fi
- done
-
-
# Checks for libraries.
--- 3881,3884 ----
***************
*** 4880,4883 ****
--- 4859,4867 ----
_ACEOF
+
+ #AC_MSG_CHECKING(for additional include directories)
+ #AC_ARG_WITH(include-dir,
+ # AC_HELP_STRING([--with-include-dir=dir1:dir2:dir3...],[Searching for headers in this directory]),withval="")
+ #AC_MSG_RESULT(:$withval:)
# Epilog
Index: configure.ac
===================================================================
RCS file: /cvsroot/lwatch/files/configure.ac,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** configure.ac 25 Mar 2003 10:03:28 -0000 1.24
--- configure.ac 25 Mar 2003 11:16:20 -0000 1.25
***************
*** 34,42 ****
[Default input file])
! AH_TEMPLATE([HAVE_GETOPT_H],
! [Define to 1 if you have the <getopt.h> header file.])
- AH_TEMPLATE([HAVE_PCRE_H],
- [Define to 1 if you have the <pcre.h> header file.])
# Checks for programs.
--- 34,51 ----
[Default input file])
! AC_MSG_CHECKING(for platform dependent directories)
! case $target in
! *-*-*bsd*)
! CFLAGS="${CFLAGS} -I/usr/local/include"
! LDFLAGS="${LDFLAGS} -I/usr/local/lib"
! AC_MSG_RESULT("*BSD detected")
! AC_MSG_RESULT("Added /usr/local/include to CFLAGS")
! AC_MSG_RESULT("Added /usr/local/lib to LDFLAGS")
! ;;
! *)
! AC_MSG_RESULT("No special directories")
! ;;
! esac
# Checks for programs.
***************
*** 57,77 ****
# Checks for header files.
AC_HEADER_STDC
! AC_CHECK_HEADERS([errno.h fcntl.h signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/param.h sys/poll.h sys/stat.h sys/types.h unistd.h])
!
! AC_DEFUN(ARC_FIND_HEADER, [
! # Searching for include directory
! AC_MSG_CHECKING(for location of $1)
! for d in /usr/include /usr/local/include; do
! if test -f "$d/$1"; then
! CFLAGS="${CFLAGS} -I$d"
! AC_DEFINE_UNQUOTED(HAVE_`echo $1 | tr "a-z." "A-Z_"`)
! AC_MSG_RESULT($d)
! break
! fi
! done
! ])
!
! ARC_FIND_HEADER(getopt.h)
! ARC_FIND_HEADER(pcre.h)
# Checks for libraries.
--- 66,70 ----
# Checks for header files.
AC_HEADER_STDC
! AC_CHECK_HEADERS([errno.h fcntl.h getopt.h pcre.h signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/param.h sys/poll.h sys/stat.h sys/types.h unistd.h])
# Checks for libraries.
***************
*** 117,120 ****
--- 110,118 ----
AC_SUBST(INPUTFILE)
AC_DEFINE_UNQUOTED(INPUTFILE,"${INPUTFILE}")
+
+ #AC_MSG_CHECKING(for additional include directories)
+ #AC_ARG_WITH(include-dir,
+ # AC_HELP_STRING([--with-include-dir=dir1:dir2:dir3...],[Searching for headers in this directory]),withval="")
+ #AC_MSG_RESULT(:$withval:)
# Epilog
|
|
From: <ar...@us...> - 2003-03-25 10:03:35
|
Update of /cvsroot/lwatch/files
In directory sc8-pr-cvs1:/tmp/cvs-serv1392
Modified Files:
configure configure.ac
Log Message:
- find include directories for non-libc headers
Index: configure
===================================================================
RCS file: /cvsroot/lwatch/files/configure,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** configure 24 Mar 2003 22:31:52 -0000 1.28
--- configure 25 Mar 2003 10:03:23 -0000 1.29
***************
*** 1761,1767 ****
-
- test x"$prefix" = xNONE && prefix="$ac_default_prefix"
-
#if test "$cache_file" = /dev/null; then
# cache_file="config.cache"
--- 1761,1764 ----
***************
*** 1770,1776 ****
--- 1767,1790 ----
+ test x"$prefix" = xNONE && prefix="$ac_default_prefix"
+
ac_config_headers="$ac_config_headers src/config.h"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# Checks for programs.
ac_ext=c
***************
*** 3709,3715 ****
!
!
! for ac_header in errno.h fcntl.h getopt.h pcre.h signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/param.h sys/poll.h sys/stat.h sys/types.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
--- 3723,3727 ----
! for ac_header in errno.h fcntl.h signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/param.h sys/poll.h sys/stat.h sys/types.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
***************
*** 3853,3862 ****
! # Take fun :)
! #AC_MSG_CHECKING(civilization)
! #sleep 1
! #AC_MSG_RESULT([other.])
! #AC_MSG_RESULT([We are lwatch of Borg. You will be asimilated. Resistance is futile])
! #sleep 1
# Checks for libraries.
--- 3865,3904 ----
!
!
!
! # Searching for include directory
! echo "$as_me:$LINENO: checking for location of getopt.h" >&5
! echo $ECHO_N "checking for location of getopt.h... $ECHO_C" >&6
! for d in /usr/include /usr/local/include; do
! if test -f "$d/getopt.h"; then
! CFLAGS="${CFLAGS} -I$d"
! cat >>confdefs.h <<_ACEOF
! #define HAVE_`echo getopt.h | tr "a-z." "A-Z_"` 1
! _ACEOF
!
! echo "$as_me:$LINENO: result: $d" >&5
! echo "${ECHO_T}$d" >&6
! break
! fi
! done
!
!
! # Searching for include directory
! echo "$as_me:$LINENO: checking for location of pcre.h" >&5
! echo $ECHO_N "checking for location of pcre.h... $ECHO_C" >&6
! for d in /usr/include /usr/local/include; do
! if test -f "$d/pcre.h"; then
! CFLAGS="${CFLAGS} -I$d"
! cat >>confdefs.h <<_ACEOF
! #define HAVE_`echo pcre.h | tr "a-z." "A-Z_"` 1
! _ACEOF
!
! echo "$as_me:$LINENO: result: $d" >&5
! echo "${ECHO_T}$d" >&6
! break
! fi
! done
!
# Checks for libraries.
***************
*** 4779,4791 ****
# Define autoheader templates
-
-
-
-
-
-
-
-
-
# Checks for user options
echo "$as_me:$LINENO: checking for compile with diagnostic messages" >&5
--- 4821,4824 ----
Index: configure.ac
===================================================================
RCS file: /cvsroot/lwatch/files/configure.ac,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** configure.ac 24 Mar 2003 22:14:06 -0000 1.23
--- configure.ac 25 Mar 2003 10:03:28 -0000 1.24
***************
*** 15,21 ****
AM_INIT_AUTOMAKE([dist-bzip2])
- AC_PREFIX_DEFAULT(/usr/local)
- test x"$prefix" = xNONE && prefix="$ac_default_prefix"
-
#if test "$cache_file" = /dev/null; then
# cache_file="config.cache"
--- 15,18 ----
***************
*** 23,29 ****
--- 20,43 ----
#AC_CACHE_LOAD
+ AC_PREFIX_DEFAULT(/usr/local)
+ test x"$prefix" = xNONE && prefix="$ac_default_prefix"
AM_CONFIG_HEADER(src/config.h)
+ AH_TEMPLATE([DEBUG],
+ [Define to 1 if you want to compile with debug support.])
+
+ AH_TEMPLATE([SYSCONFDIR],
+ [Directory where configuration file is placed])
+
+ AH_TEMPLATE([INPUTFILE],
+ [Default input file])
+
+ AH_TEMPLATE([HAVE_GETOPT_H],
+ [Define to 1 if you have the <getopt.h> header file.])
+
+ AH_TEMPLATE([HAVE_PCRE_H],
+ [Define to 1 if you have the <pcre.h> header file.])
+
# Checks for programs.
AC_PROG_CC
***************
*** 43,54 ****
# Checks for header files.
AC_HEADER_STDC
! AC_CHECK_HEADERS([errno.h fcntl.h getopt.h pcre.h signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/param.h sys/poll.h sys/stat.h sys/types.h unistd.h])
! # Take fun :)
! #AC_MSG_CHECKING(civilization)
! #sleep 1
! #AC_MSG_RESULT([other.])
! #AC_MSG_RESULT([We are lwatch of Borg. You will be asimilated. Resistance is futile])
! #sleep 1
# Checks for libraries.
--- 57,77 ----
# Checks for header files.
AC_HEADER_STDC
! AC_CHECK_HEADERS([errno.h fcntl.h signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/param.h sys/poll.h sys/stat.h sys/types.h unistd.h])
! AC_DEFUN(ARC_FIND_HEADER, [
! # Searching for include directory
! AC_MSG_CHECKING(for location of $1)
! for d in /usr/include /usr/local/include; do
! if test -f "$d/$1"; then
! CFLAGS="${CFLAGS} -I$d"
! AC_DEFINE_UNQUOTED(HAVE_`echo $1 | tr "a-z." "A-Z_"`)
! AC_MSG_RESULT($d)
! break
! fi
! done
! ])
!
! ARC_FIND_HEADER(getopt.h)
! ARC_FIND_HEADER(pcre.h)
# Checks for libraries.
***************
*** 66,78 ****
# Define autoheader templates
- AH_TEMPLATE([DEBUG],
- [Define to 1 if you want to compile with debug support.])
-
- AH_TEMPLATE([SYSCONFDIR],
- [Directory where configuration file is placed])
-
- AH_TEMPLATE([INPUTFILE],
- [Default input file])
-
# Checks for user options
AC_MSG_CHECKING(for compile with diagnostic messages)
--- 89,92 ----
|
|
From: <ar...@us...> - 2003-03-24 23:42:17
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv1224 Modified Files: TODO Log Message: - new feature Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** TODO 24 Mar 2003 15:38:25 -0000 1.9 --- TODO 24 Mar 2003 23:42:13 -0000 1.10 *************** *** 22,25 **** --- 22,26 ---- - run as daemon - running external program as action + - take color codes from termcap (slang? ncurses?) If you have any feature request not presented here look at: |
|
From: <ar...@us...> - 2003-03-24 23:29:28
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv20309 Modified Files: README Log Message: - Free BSD: use gmake instead of make Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** README 24 Mar 2003 22:58:48 -0000 1.5 --- README 24 Mar 2003 23:29:24 -0000 1.6 *************** *** 40,44 **** * Free BSD CFLAGS="-I/usr/local/include" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -lgnugetopt" ./configure ! CFLAGS="-I/usr/local/include" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -lgnugetopt" make Install libgnugetopt --- 40,44 ---- * Free BSD CFLAGS="-I/usr/local/include" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -lgnugetopt" ./configure ! CFLAGS="-I/usr/local/include" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -lgnugetopt" gmake Install libgnugetopt |
|
From: <ar...@us...> - 2003-03-24 22:58:55
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv14776 Modified Files: ChangeLog README Log Message: - information about compiling under Free BSD Index: ChangeLog =================================================================== RCS file: /cvsroot/lwatch/files/ChangeLog,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** ChangeLog 24 Mar 2003 22:14:07 -0000 1.9 --- ChangeLog 24 Mar 2003 22:58:48 -0000 1.10 *************** *** 1,3 **** ! 0.3: new tests in ./configure --- 1,3 ---- ! 0.3: new tests in ./configure (getopt_long) Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** README 24 Mar 2003 15:38:25 -0000 1.4 --- README 24 Mar 2003 22:58:48 -0000 1.5 *************** *** 31,33 **** please, send me an email notice about it. ! Artur R. Czechowski <ar...@he...> --- 31,46 ---- please, send me an email notice about it. ! ============================================ ! OS specific information ! ============================================ ! ! * Cygwin. ! There are people which compile lwatch on cygwin and say that it works. ! ! * Free BSD ! CFLAGS="-I/usr/local/include" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -lgnugetopt" ./configure ! CFLAGS="-I/usr/local/include" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -lgnugetopt" make ! Install libgnugetopt ! ! * Linux ! No additional packages required. |
|
From: <ar...@us...> - 2003-03-24 22:31:58
|
Update of /cvsroot/lwatch/files/src In directory sc8-pr-cvs1:/tmp/cvs-serv2282/src Modified Files: config.h.in Log Message: - automagically rebuilded Index: config.h.in =================================================================== RCS file: /cvsroot/lwatch/files/src/config.h.in,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** config.h.in 24 Mar 2003 13:43:23 -0000 1.11 --- config.h.in 24 Mar 2003 22:31:54 -0000 1.12 *************** *** 16,19 **** --- 16,22 ---- #undef HAVE_GETOPT_H + /* Define to 1 if you have the `getopt_long' function. */ + #undef HAVE_GETOPT_LONG + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H |
|
From: <ar...@us...> - 2003-03-24 22:31:57
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv2282 Modified Files: configure Log Message: - automagically rebuilded Index: configure =================================================================== RCS file: /cvsroot/lwatch/files/configure,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** configure 24 Mar 2003 14:23:40 -0000 1.27 --- configure 24 Mar 2003 22:31:52 -0000 1.28 *************** *** 1,4 **** #! /bin/sh ! # From configure.ac Revision: 1.22 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57 for lwatch 0.2. --- 1,4 ---- #! /bin/sh ! # From configure.ac Revision: 1.23 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57 for lwatch 0.2. *************** *** 4693,4697 **** ! for ac_func in memset strcasecmp strchr do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` --- 4693,4698 ---- ! ! for ac_func in getopt_long memset strcasecmp strchr do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
From: <ar...@us...> - 2003-03-24 22:14:12
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv4476 Modified Files: configure.ac ChangeLog Log Message: - checking for getopt_long existence Index: configure.ac =================================================================== RCS file: /cvsroot/lwatch/files/configure.ac,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** configure.ac 24 Mar 2003 13:43:20 -0000 1.22 --- configure.ac 24 Mar 2003 22:14:06 -0000 1.23 *************** *** 63,67 **** AC_TYPE_SIGNAL AC_FUNC_VPRINTF ! AC_CHECK_FUNCS([memset strcasecmp strchr]) # Define autoheader templates --- 63,67 ---- AC_TYPE_SIGNAL AC_FUNC_VPRINTF ! AC_CHECK_FUNCS([getopt_long memset strcasecmp strchr]) # Define autoheader templates Index: ChangeLog =================================================================== RCS file: /cvsroot/lwatch/files/ChangeLog,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ChangeLog 24 Mar 2003 14:23:39 -0000 1.8 --- ChangeLog 24 Mar 2003 22:14:07 -0000 1.9 *************** *** 1,2 **** --- 1,5 ---- + 0.3: new tests in ./configure + + 0.2: bugfix: too much manual files installed ChangeLog filled :) |
|
From: <ar...@us...> - 2003-03-24 15:38:33
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1:/tmp/cvs-serv18884/doc Modified Files: lwatch.1.in Log Message: - before-release checkout (0.2) Index: lwatch.1.in =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.1.in,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** lwatch.1.in 24 Mar 2003 14:23:40 -0000 1.9 --- lwatch.1.in 24 Mar 2003 15:38:26 -0000 1.10 *************** *** 150,152 **** ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ ! ...\" created by instant / docbook-to-man, Mon 24 Mar 2003, 15:00 --- 150,152 ---- ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ ! ...\" created by instant / docbook-to-man, Mon 24 Mar 2003, 15:24 |
|
From: <ar...@us...> - 2003-03-24 15:38:30
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv18884 Modified Files: AUTHORS INSTALL NEWS README TODO Log Message: - before-release checkout (0.2) Index: AUTHORS =================================================================== RCS file: /cvsroot/lwatch/files/AUTHORS,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AUTHORS 18 Mar 2003 11:58:45 -0000 1.4 --- AUTHORS 24 Mar 2003 15:38:24 -0000 1.5 *************** *** 4,5 **** --- 4,9 ---- Artur R. Czechowski <ar...@he...> - designer, main programmer Andrzej Oszer <os...@po...> - autotools support + + I would like to thank to some people who have helped me significantly with this project: + - Karolina Gajkowska <ka...@bl...> + - Dawid "QNeX" Kuroczko Index: INSTALL =================================================================== RCS file: /cvsroot/lwatch/files/INSTALL,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** INSTALL 3 Feb 2003 14:07:25 -0000 1.3 --- INSTALL 24 Mar 2003 15:38:24 -0000 1.4 *************** *** 228,229 **** --- 228,234 ---- `configure --help' for more details. + `--enable-debug' + Show a lot of debug information during runtime + + `--enable-input' + Specify default input file instead /dev/lwatch Index: NEWS =================================================================== RCS file: /cvsroot/lwatch/files/NEWS,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NEWS 18 Mar 2003 12:13:40 -0000 1.2 --- NEWS 24 Mar 2003 15:38:25 -0000 1.3 *************** *** 1,2 **** --- 1,5 ---- + 2003.03.24 + lwatch v.0.2 has been released, see Changelog for changes + 2003.03.18 <tada.wav> First release of lwatch: 0.1. I hope there is no bugs. Index: README =================================================================== RCS file: /cvsroot/lwatch/files/README,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** README 18 Mar 2003 12:13:40 -0000 1.3 --- README 24 Mar 2003 15:38:25 -0000 1.4 *************** *** 6,14 **** Feature request: see TODO. ! This package requires PCRE library available at: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ For me it works with libpcre 3.4. ! There is only Linux supported for now, but on other platform this software should compile. --- 6,33 ---- Feature request: see TODO. ! Regular expression support is provided by the PCRE library package, ! which is open source software, written by Philip Hazel, and copyright ! by the University of Cambridge, England. ! ! PCRE library available at: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ For me it works with libpcre 3.4. ! I have tested this software only on linux, but for other platforms it also should compile. + + This package uses autotools. You can change all paths and directories + running configure with proper options. + Path and directories changes should be propagated into documentation + and binary. If not, please submit a bug (see BUGS for details). + + Default input file is /dev/lwatch. You can change it running: + configure --enable-input=/other/file + What do you think about adding proper entries into syslog/syslog-ng + configuration file? + + If you add this piece of software into any distrubution make me a favour and, + please, send me an email notice about it. + + Artur R. Czechowski <ar...@he...> Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** TODO 24 Mar 2003 14:23:39 -0000 1.8 --- TODO 24 Mar 2003 15:38:25 -0000 1.9 *************** *** 2,19 **** $Source$ ! Now (for 0.2): ! ! Later: ! - documentation for lwatch.conf - create fifo (if needed by user) - reopen fifos closed on syslog restart - proper signal handling - versioning of configuration file ! - extended rules, i.e. line matches only if server and message matches given ! rules - timers - counters - support for growing regular files (like tail -f) ! - user defined message format - write documentation in info format - run as daemon --- 2,22 ---- $Source$ ! Now (for 0.3): - create fifo (if needed by user) - reopen fifos closed on syslog restart - proper signal handling + - option for output file + - configure: docbook2man (docbook-utils) support + + Later: + - configure: --with-pcre support + - dealing with getopt + - documentation for lwatch.conf - versioning of configuration file ! - extended rules: conditions, nested rules - timers - counters - support for growing regular files (like tail -f) ! - user defined input format - write documentation in info format - run as daemon |
|
From: <ar...@us...> - 2003-03-24 14:23:44
|
Update of /cvsroot/lwatch/files In directory sc8-pr-cvs1:/tmp/cvs-serv2953 Modified Files: ChangeLog TODO configure Log Message: - legal stuff required by PCRE Index: ChangeLog =================================================================== RCS file: /cvsroot/lwatch/files/ChangeLog,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ChangeLog 24 Mar 2003 13:43:19 -0000 1.7 --- ChangeLog 24 Mar 2003 14:23:39 -0000 1.8 *************** *** 7,10 **** --- 7,11 ---- some typos corrected build-in default for input file could be replaced during build time + legal stuff required by PCRE Index: TODO =================================================================== RCS file: /cvsroot/lwatch/files/TODO,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TODO 21 Mar 2003 15:45:00 -0000 1.7 --- TODO 24 Mar 2003 14:23:39 -0000 1.8 *************** *** 3,9 **** Now (for 0.2): - - complete manual Later: - create fifo (if needed by user) - reopen fifos closed on syslog restart --- 3,9 ---- Now (for 0.2): Later: + - documentation for lwatch.conf - create fifo (if needed by user) - reopen fifos closed on syslog restart Index: configure =================================================================== RCS file: /cvsroot/lwatch/files/configure,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** configure 24 Mar 2003 13:43:19 -0000 1.26 --- configure 24 Mar 2003 14:23:40 -0000 1.27 *************** *** 1,4 **** #! /bin/sh ! # From configure.ac Revision: 1.21 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57 for lwatch 0.2. --- 1,4 ---- #! /bin/sh ! # From configure.ac Revision: 1.22 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57 for lwatch 0.2. |
|
From: <ar...@us...> - 2003-03-24 14:23:44
|
Update of /cvsroot/lwatch/files/doc In directory sc8-pr-cvs1:/tmp/cvs-serv2953/doc Modified Files: lwatch.1.in lwatch.sgml Log Message: - legal stuff required by PCRE Index: lwatch.1.in =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.1.in,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** lwatch.1.in 24 Mar 2003 13:43:21 -0000 1.8 --- lwatch.1.in 24 Mar 2003 14:23:40 -0000 1.9 *************** *** 144,146 **** option) any later version. ! ...\" created by instant / docbook-to-man, Mon 24 Mar 2003, 14:40 --- 144,152 ---- option) any later version. ! .PP ! Regular expression support is provided by the PCRE library package, which ! is open source software, written by Philip Hazel, and copyright by the ! University of Cambridge, England. This library is available at: ! ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ ! ! ...\" created by instant / docbook-to-man, Mon 24 Mar 2003, 15:00 Index: lwatch.sgml =================================================================== RCS file: /cvsroot/lwatch/files/doc/lwatch.sgml,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** lwatch.sgml 24 Mar 2003 13:43:21 -0000 1.13 --- lwatch.sgml 24 Mar 2003 14:23:40 -0000 1.14 *************** *** 180,183 **** --- 180,192 ---- </para> + <para> + Regular expression support is provided by the PCRE library package, which + is open source software, written by Philip Hazel, and copyright by the + University of Cambridge, England. This library is available at: + ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ + </para> + + + </refsect1> |
|
From: <ar...@us...> - 2003-03-24 14:23:44
|
Update of /cvsroot/lwatch/files/src
In directory sc8-pr-cvs1:/tmp/cvs-serv2953/src
Modified Files:
settings.c
Log Message:
- legal stuff required by PCRE
Index: settings.c
===================================================================
RCS file: /cvsroot/lwatch/files/src/settings.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** settings.c 22 Mar 2003 17:56:54 -0000 1.17
--- settings.c 24 Mar 2003 14:23:41 -0000 1.18
***************
*** 50,54 ****
int omit_config=0;
! void show_usage() {
int i;
char *usage[]={
--- 50,54 ----
int omit_config=0;
! void show_licence() {
int i;
char *usage[]={
***************
*** 57,61 ****
--- 57,95 ----
"http://sourceforge.net/projects/lwatch",
"",
+ "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 of the License, 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",
+ "",
+ "Regular expression support is provided by the PCRE library package,",
+ "which is open source software, written by Philip Hazel, and copyright",
+ "by the University of Cambridge, England.",
+ "PCRE library available at:",
+ "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/",
+ NULL
+ };
+ i=0;
+ while(usage[i]) {
+ printf("%s\n",usage[i++]);
+ }
+ exit(0);
+ }
+
+ void show_usage() {
+ int i;
+ char *usage[]={
"Options:",
+ " -v, --version",
+ "\tshow version and copyright notices",
" -C, --config filename",
"\tread config from filename instead of " DEF_CONF_FILE ",",
***************
*** 72,90 ****
" -h, --help",
"\tshow this info",
- "",
- "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 of the License, 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",
NULL
};
--- 106,109 ----
***************
*** 98,101 ****
--- 117,121 ----
void parse_options(int argc, char **argv) {
static struct option opt[] = {
+ {"version",0,0,'v'},
{"config",1,0,'C'},
{"fifo",1,0,'f'},
***************
*** 116,120 ****
#endif
memset(&lw_conf,0,sizeof(lw_conf));
! while((c=getopt_long(argc,argv,"C:f:cosh",opt,&idx))!=EOF) {
switch(c) {
case 'C':
--- 136,140 ----
#endif
memset(&lw_conf,0,sizeof(lw_conf));
! while((c=getopt_long(argc,argv,"vC:f:cosh",opt,&idx))!=EOF) {
switch(c) {
case 'C':
***************
*** 156,159 ****
--- 176,182 ----
#endif
break;
+ case 'v':
+ show_licence();
+ break;
case 'h':
show_usage();
***************
*** 163,167 ****
break;
default:
! show_usage();
}
}
--- 186,191 ----
break;
default:
! printf("Type %s -h for help\n",argv[0]);
! exit(1);
}
}
|
|
From: <ar...@us...> - 2003-03-24 13:43:58
|
Update of /cvsroot/lwatch/files
In directory sc8-pr-cvs1:/tmp/cvs-serv26252
Modified Files:
ChangeLog Makefile.in configure configure.ac
Log Message:
- build-in default input file could be changed during build time with
./configure --enable-input=file
Index: ChangeLog
===================================================================
RCS file: /cvsroot/lwatch/files/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ChangeLog 21 Mar 2003 15:54:55 -0000 1.6
--- ChangeLog 24 Mar 2003 13:43:19 -0000 1.7
***************
*** 5,8 ****
--- 5,10 ----
support for show_unparsed
bugfix: yes and no was negated
+ some typos corrected
+ build-in default for input file could be replaced during build time
Index: Makefile.in
===================================================================
RCS file: /cvsroot/lwatch/files/Makefile.in,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** Makefile.in 18 Mar 2003 16:34:33 -0000 1.17
--- Makefile.in 24 Mar 2003 13:43:19 -0000 1.18
***************
*** 60,63 ****
--- 60,64 ----
HAVE_D2M_FALSE = @HAVE_D2M_FALSE@
HAVE_D2M_TRUE = @HAVE_D2M_TRUE@
+ INPUTFILE = @INPUTFILE@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
Index: configure
===================================================================
RCS file: /cvsroot/lwatch/files/configure,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** configure 21 Mar 2003 15:35:40 -0000 1.25
--- configure 24 Mar 2003 13:43:19 -0000 1.26
***************
*** 311,315 ****
#endif"
! ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S LEX LEXLIB LEX_OUTPUT_ROOT SED dbook2man CPP EGREP LIBOBJS HAVE_D2M_TRUE HAVE_D2M_FALSE LTLIBOBJS'
ac_subst_files=''
--- 311,315 ----
#endif"
! ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S LEX LEXLIB LEX_OUTPUT_ROOT SED dbook2man CPP EGREP LIBOBJS HAVE_D2M_TRUE HAVE_D2M_FALSE INPUTFILE LTLIBOBJS'
ac_subst_files=''
***************
*** 857,860 ****
--- 857,861 ----
--enable-dependency-tracking Do not reject slow dependency extractors
--enable-debug Compile with diagnostic messages
+ --enable-input=file Specify default input file other than /dev/lwatch
Some influential environment variables:
***************
*** 1763,1766 ****
--- 1764,1773 ----
test x"$prefix" = xNONE && prefix="$ac_default_prefix"
+ #if test "$cache_file" = /dev/null; then
+ # cache_file="config.cache"
+ #fi
+ #AC_CACHE_LOAD
+
+
ac_config_headers="$ac_config_headers src/config.h"
***************
*** 4777,4780 ****
--- 4784,4790 ----
+
+
+
# Checks for user options
echo "$as_me:$LINENO: checking for compile with diagnostic messages" >&5
***************
*** 4813,4816 ****
--- 4823,4850 ----
+ echo "$as_me:$LINENO: checking for default input file" >&5
+ echo $ECHO_N "checking for default input file... $ECHO_C" >&6
+ # Check whether --enable-input or --disable-input was given.
+ if test "${enable_input+set}" = set; then
+ enableval="$enable_input"
+
+ else
+ enable_input="yes"
+ fi;
+ if test "$enable_input" = "no"; then
+ enable_input="/dev/lwatch"
+ fi
+ if test "$enable_input" = "yes"; then
+ enable_input="/dev/lwatch"
+ fi
+ echo "$as_me:$LINENO: result: $enable_input" >&5
+ echo "${ECHO_T}$enable_input" >&6;
+ INPUTFILE=$enable_input
+
+ cat >>confdefs.h <<_ACEOF
+ #define INPUTFILE "${INPUTFILE}"
+ _ACEOF
+
+
# Epilog
ac_config_files="$ac_config_files src/Makefile doc/Makefile Makefile"
***************
*** 5518,5521 ****
--- 5552,5556 ----
s,@HAVE_D2M_TRUE@,$HAVE_D2M_TRUE,;t t
s,@HAVE_D2M_FALSE@,$HAVE_D2M_FALSE,;t t
+ s,@INPUTFILE@,$INPUTFILE,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF
Index: configure.ac
===================================================================
RCS file: /cvsroot/lwatch/files/configure.ac,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** configure.ac 21 Mar 2003 14:27:48 -0000 1.21
--- configure.ac 24 Mar 2003 13:43:20 -0000 1.22
***************
*** 18,21 ****
--- 18,27 ----
test x"$prefix" = xNONE && prefix="$ac_default_prefix"
+ #if test "$cache_file" = /dev/null; then
+ # cache_file="config.cache"
+ #fi
+ #AC_CACHE_LOAD
+
+
AM_CONFIG_HEADER(src/config.h)
***************
*** 66,69 ****
--- 72,78 ----
[Directory where configuration file is placed])
+ AH_TEMPLATE([INPUTFILE],
+ [Default input file])
+
# Checks for user options
AC_MSG_CHECKING(for compile with diagnostic messages)
***************
*** 80,83 ****
--- 89,106 ----
AM_CONDITIONAL(HAVE_D2M, test "$dbook2man" != "no")
+
+ AC_MSG_CHECKING(for default input file)
+ AC_ARG_ENABLE(input,
+ AC_HELP_STRING([--enable-input=file],[Specify default input file other than /dev/lwatch]), ,[enable_input="yes"])
+ if test "$enable_input" = "no"; then
+ enable_input="/dev/lwatch"
+ fi
+ if test "$enable_input" = "yes"; then
+ enable_input="/dev/lwatch"
+ fi
+ AC_MSG_RESULT($enable_input);
+ INPUTFILE=$enable_input
+ AC_SUBST(INPUTFILE)
+ AC_DEFINE_UNQUOTED(INPUTFILE,"${INPUTFILE}")
# Epilog
|