[lwatch-cvs] files AUTHORS,1.5,1.6 ChangeLog,1.10,1.11 NEWS,1.3,1.4 README,1.6,1.7 TODO,1.10,1.11 co
Brought to you by:
arturcz
|
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 ----
|