[Libsysio-commit] HEAD: libsysio configure.in
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2007-08-20 19:12:12
|
Update of /cvsroot/libsysio/libsysio In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15038 Modified Files: configure.in Log Message: Split tracing support out. Added an initializer queue so that trace functionality may be added external to this library. to use it, register your initializer function with _sysio_register_trace using the _sysio_initializer_trace_q. Only the "func" argument is valid when the pseudo-event is called from _sysio_boot_trace. You might want to remove your initializer event from the initializer queue once called, unless it's ok to call it more than once. Index: configure.in =================================================================== RCS file: /cvsroot/libsysio/libsysio/configure.in,v retrieving revision 1.34 retrieving revision 1.35 diff -u -w -b -B -p -r1.34 -r1.35 --- configure.in 2 Jul 2007 18:58:15 -0000 1.34 +++ configure.in 20 Aug 2007 19:12:07 -0000 1.35 @@ -127,14 +127,14 @@ AM_CONDITIONAL(WITH_STATVFS, test x$with AC_SUBST(_HAVE_STATVFS) AC_ARG_WITH(tracing, - AC_HELP_STRING([--with-tracing], - [enable tracing support]), + AC_HELP_STRING([--with-tracing], [enable tracing support]), [ case "${withval}" in yes) TRACING=-DSYSIO_TRACING=1 ;; no) ;; *) AC_MSG_ERROR(bad value ${withval} for --with-tracing) ;; esac], - [TRACING=-DSYSIO_TRACING=1]) + [with_tracing=no]) +AM_CONDITIONAL(WITH_TRACING, test x$with_tracing = xyes) AC_SUBST(TRACING) AC_ARG_WITH(cplant_yod, |