head 1.10; access; symbols FSL_1_7_0:1.10 FSL_1_6_1:1.10 FSL_1_6_0:1.9 FSL_1_6b2:1.9 FSL_1_6b1:1.9 FSL_1_5_0:1.9 FSL_1_5a3:1.9 FSL_1_5a2:1.9 FSL_1_5a1:1.9 FSL_1_4_0:1.9 FSL_1_4b1:1.9 FSL_1_4a1:1.7 FSL_1_3_0:1.6 FSL_1_3b1:1.6 FSL_1_2_1:1.6 FSL_1_2_0:1.6 FSL_1_1_0:1.6 FSL_1_1b1:1.6 FSL_1_0_8:1.5 FSL_1_0_7:1.5 FSL_1_0_6:1.4 FSL_1_0_5:1.4 FSL_1_0_4:1.4 FSL_1_0_3:1.4 FSL_1_0_2:1.4 FSL_1_0_1:1.4 FSL_1_0_0:1.4 FSL_0_9_0:1.4 FSL_0_1_12:1.2 FSL_0_1_11:1.2 FSL_0_1_10:1.2 FSL_0_1_9:1.2 FSL_0_1_8:1.1 FSL_0_1_7:1.1 FSL_0_1_6:1.1 FSL_0_1_5:1.1 FSL_0_1_1:1.1; locks; strict; comment @# @; 1.10 date 2005.10.03.09.28.53; author rse; state Exp; branches; next 1.9; 1.9 date 2004.01.09.10.48.27; author thl; state Exp; branches; next 1.8; 1.8 date 2003.10.28.19.47.09; author thl; state Exp; branches; next 1.7; 1.7 date 2003.10.28.15.46.39; author thl; state Exp; branches; next 1.6; 1.6 date 2003.05.22.12.30.35; author thl; state Exp; branches; next 1.5; 1.5 date 2003.01.06.16.41.21; author rse; state Exp; branches; next 1.4; 1.4 date 2002.08.01.11.41.05; author rse; state Exp; branches; next 1.3; 1.3 date 2002.08.01.10.18.06; author rse; state Exp; branches; next 1.2; 1.2 date 2002.07.27.15.37.21; author rse; state Exp; branches; next 1.1; 1.1 date 2002.07.09.09.42.09; author rse; state Exp; branches; next ; desc @@ 1.10 log @Adjust copyright messages to include new year 2005. @ text @dnl ## dnl ## OSSP fsl - Faking/Flexible Syslog Library dnl ## Copyright (c) 2002-2005 Ralf S. Engelschall dnl ## Copyright (c) 2002-2005 The OSSP Project dnl ## Copyright (c) 2002-2005 Cable & Wireless dnl ## dnl ## This file is part of OSSP fsl, a syslog(3) API faking library which dnl ## can be found at http://www.ossp.org/pkg/lib/fsl/. dnl ## dnl ## Permission to use, copy, modify, and distribute this software for dnl ## any purpose with or without fee is hereby granted, provided that dnl ## the above copyright notice and this permission notice appear in all dnl ## copies. dnl ## dnl ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED dnl ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF dnl ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. dnl ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR dnl ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, dnl ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT dnl ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF dnl ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND dnl ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, dnl ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT dnl ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF dnl ## SUCH DAMAGE. dnl ## dnl ## fsl.ac: OSSP fsl Autoconf checks dnl ## dnl # Check for anything OSSP fsl wants to know dnl # configure.in: dnl # FSL_CHECK_ALL AC_DEFUN(FSL_CHECK_ALL,[ dnl # header checking AC_CHECK_HEADERS(syslog.h) dnl # platform specific hacks AC_MSG_CHECKING(for platform) PLATFORM=`sh ./config.guess` if test ".$PLATFORM" != .; then PLATFORM=`sh ./config.sub $PLATFORM` fi AC_MSG_RESULT([$PLATFORM]) case $PLATFORM in *-*-solaris2.[[6-9]]* | *-*-solaris2.1[[0-9]] ) AC_DEFINE(HAVE_VSYSLOG_USVALIST, 1, [vsyslog(3) uses __va_list]) ;; *-*-osf* ) CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" ;; esac dnl # built-time configuration parameter --with-fsl-cfgdir AC_MSG_CHECKING(for configuration directory) AC_ARG_WITH(fsl-cfgdir,dnl [ --with-fsl-cfgdir=PATH set configuration directory (default="PREFIX/etc/fsl")], [ fsl_cfgdir=$withval ], [ fsl_cfgdir="${prefix}/etc/fsl" ] )dnl AC_DEFINE_UNQUOTED(FSL_CFGDIR, "$fsl_cfgdir", [Define for OSSP fsl configuration directory]) FSL_CFGDIR="$fsl_cfgdir" AC_SUBST(FSL_CFGDIR) AC_MSG_RESULT([$fsl_cfgdir]) dnl # built-time configuration parameter --with-fsl-prefix AC_MSG_CHECKING(for configuration file prefix) AC_ARG_WITH(fsl-prefix,dnl [ --with-fsl-prefix=PATH set configuration file prefix (default="fsl.")], [ fsl_prefix=$withval ], [ fsl_prefix="fsl." ] )dnl AC_DEFINE_UNQUOTED(FSL_PREFIX, "$fsl_prefix", [Define for OSSP fsl configuration file prefix]) FSL_PREFIX="$fsl_prefix" AC_SUBST(FSL_PREFIX) AC_MSG_RESULT([$fsl_prefix]) ]) 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 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]) @ 1.9 log @Adjust copyright messages to include new year 2004 @ text @d3 3 a5 3 dnl ## Copyright (c) 2002-2004 Ralf S. Engelschall dnl ## Copyright (c) 2002-2004 The OSSP Project dnl ## Copyright (c) 2002-2004 Cable & Wireless Deutschland @ 1.8 log @simplify case construct and prepare for post-Solaris 10 @ text @d3 3 a5 3 dnl ## Copyright (c) 2002-2003 Ralf S. Engelschall dnl ## Copyright (c) 2002-2003 The OSSP Project dnl ## Copyright (c) 2002-2003 Cable & Wireless Deutschland @ 1.7 log @renumber; added support for Solaris 10; improve filename sort explanation @ text @d48 1 a48 4 *-*-solaris2.[[6-9]]* ) AC_DEFINE(HAVE_VSYSLOG_USVALIST, 1, [vsyslog(3) uses __va_list]) ;; *-*-solaris2.10* ) @ 1.6 log @for details see attached ChangeLog @ text @d51 3 @ 1.5 log @Adjust copyright messages to include new year 2003 @ text @d80 18 a97 6 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" ] d99 4 a102 4 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]) d104 23 a126 1 ]) @ 1.4 log @add support for FSL_PREFIX and FSL_DEBUG variables. @ text @d3 3 a5 3 dnl ## Copyright (c) 2002 Ralf S. Engelschall dnl ## Copyright (c) 2002 The OSSP Project dnl ## Copyright (c) 2002 Cable & Wireless Deutschland @ 1.3 log @cleanups @ text @d56 1 a56 1 dnl # built-time configuration parameter --with-cfgdir d59 1 a59 1 [ --with-fsl-cfgdir=PATH set configuration directory (default=PREFIX/etc/fsl)], d68 13 a80 1 dnl # built-time configuration parameter --with-debug d83 1 a83 1 [ --with-fsl-debug=L2SPEC set internal debugging (default="")], d85 1 a85 1 [ fsl_debug="" ] d88 2 @ 1.2 log @add Flexible to the official name @ text @d31 1 a31 1 dnl # Check for anything OSSP SA wants to know d36 42 a77 1 AC_CHECK_HEADERS(syslog.h) @ 1.1 log @First cut for new-born OSSP fsl, a faking syslog(3) API library. It is internally based (and contains) OSSP l2 and OSSP cfg. @ text @d2 1 a2 1 dnl ## OSSP fsl - Faking Syslog Library @