--- fsl.ac 2003/01/06 16:41:21 1.5
+++ fsl.ac 2003/05/22 12:30:35 1.6
@@ -77,17 +77,51 @@
AC_SUBST(FSL_PREFIX)
AC_MSG_RESULT([$fsl_prefix])
-dnl # built-time configuration parameter --with-fsl-debug
-AC_MSG_CHECKING(for debugging using a l2spec)
-AC_ARG_WITH(fsl-debug,dnl
-[ --with-fsl-debug=L2SPEC set internal debugging (default="null")],
-[ fsl_debug=$withval ],
-[ fsl_debug="null" ]
+])
+
+dnl # built-time configuration parameter --with-fsl-debuglogcode
+AC_MSG_CHECKING(for debug log code)
+AC_ARG_WITH(fsl-debuglogcode,dnl
+[ --with-fsl-debuglogcode=BOOL set debug log code (default=0) 0=omit; 1=include],
+[ AC_DEFINE(FSL_DEBUGLOGCODE, 1, [Define for OSSP fsl debug log code; 0=omit, 1=include]) ]
)dnl
-AC_DEFINE_UNQUOTED(FSL_DEBUG, "$fsl_debug", [Define for OSSP fsl debugging])
-FSL_DEBUG="$fsl_debug"
-AC_SUBST(FSL_DEBUG)
-AC_MSG_RESULT([$fsl_debug])
+FSL_DEBUGLOGCODE="$fsl_debuglogcode"
+AC_SUBST(FSL_DEBUGLOGCODE)
+AC_MSG_RESULT([$fsl_debuglogcode])
-])
+dnl # built-time configuration parameter --with-fsl-debuglogfile
+AC_MSG_CHECKING(for debug log file)
+AC_ARG_WITH(fsl-debuglogfile,dnl
+[ --with-fsl-debuglogfile=FILE set debug log file (default="PREFIX/var/fsl/debuglogfile")],
+[ fsl_debuglogfile=$withval ],
+[ fsl_debuglogfile="${prefix}/var/fsl/debuglogfile" ]
+)dnl
+AC_DEFINE_UNQUOTED(FSL_DEBUGLOGFILE, "$fsl_debuglogfile", [Define for OSSP fsl debug log file; name])
+FSL_DEBUGLOGFILE="$fsl_debuglogfile"
+AC_SUBST(FSL_DEBUGLOGFILE)
+AC_MSG_RESULT([$fsl_debuglogfile])
+
+dnl # built-time configuration parameter --with-fsl-debuglogmask
+AC_MSG_CHECKING(for debug log mask)
+AC_ARG_WITH(fsl-debuglogmask,dnl
+[ --with-fsl-debuglogmask=FILE set debug log mask (default="PREFIX/var/fsl/debuglogmask")],
+[ fsl_debuglogmask=$withval ],
+[ fsl_debuglogmask="${prefix}/var/fsl/debuglogmask" ]
+)dnl
+AC_DEFINE_UNQUOTED(FSL_DEBUGLOGMASK, "$fsl_debuglogmask", [Define for OSSP fsl debug log mask; symlink])
+FSL_DEBUGLOGMASK="$fsl_debuglogmask"
+AC_SUBST(FSL_DEBUGLOGMASK)
+AC_MSG_RESULT([$fsl_debuglogmask])
+
+dnl # built-time configuration parameter --with-fsl-debuglogstop
+AC_MSG_CHECKING(for debug log stop)
+AC_ARG_WITH(fsl-debuglogstop,dnl
+[ --with-fsl-debuglogstop=SIZE set debug log stop (default=16777216)],
+[ fsl_debuglogstop=$withval ],
+[ fsl_debuglogstop=16777216 ]
+)dnl
+AC_DEFINE_UNQUOTED(FSL_DEBUGLOGSTOP, $fsl_debuglogstop, [Define for OSSP fsl debug log stop; maxsize])
+FSL_DEBUGLOGSTOP="$fsl_debuglogstop"
+AC_SUBST(FSL_DEBUGLOGSTOP)
+AC_MSG_RESULT([$fsl_debuglogstop])
|