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_0_1_6:1.5
FSL_0_1_5:1.5
FSL_0_1_1:1.5
LMTP2NNTP_1_2a5:1.5
LMTP2NNTP_1_2a4:1.5
LMTP2NNTP_1_2a3:1.5
LMTP2NNTP_1_2a1:1.3
LMTP2NNTP_1_1_1:1.3
LMTP2NNTP_1_1_0:1.3
LMTP2NNTP_1_1b4:1.3
LMTP2NNTP_1_1b3:1.3
L2_CHANNEL_ONLY_REVAMPING_BEFORE:1.3
LMTP2NNTP_1_1b2:1.3
LMTP2NNTP_1_1b1:1.3
L2_0_1_0:1.3
START_MICHAEL:1.3
L2_INITIAL:1.1.1.1
OSSP:1.1.1;
locks; strict;
comment @# @;
1.10
date 2007.03.23.08.09.27; author rse; state Exp;
branches;
next 1.9;
commitid nuautrhbN5ZmIbbs;
1.9
date 2005.10.03.08.08.11; author rse; state Exp;
branches;
next 1.8;
1.8
date 2005.01.24.15.03.17; author rse; state Exp;
branches;
next 1.7;
1.7
date 2003.01.06.11.41.51; author rse; state Exp;
branches;
next 1.6;
1.6
date 2002.07.30.19.08.24; author rse; state Exp;
branches;
next 1.5;
1.5
date 2002.01.02.17.07.38; author rse; state Exp;
branches;
next 1.4;
1.4
date 2001.12.22.21.51.56; author rse; state Exp;
branches;
next 1.3;
1.3
date 2001.08.15.10.36.03; author rse; state Exp;
branches;
next 1.2;
1.2
date 2001.05.11.19.50.52; author rse; state Exp;
branches;
next 1.1;
1.1
date 2001.05.10.19.46.01; author rse; state Exp;
branches
1.1.1.1;
next ;
1.1.1.1
date 2001.05.10.19.46.01; author rse; state Exp;
branches;
next ;
desc
@@
1.10
log
@- Make newer GNU autoconf happy by providing "datarootdir".
- Fix installation by using GNU libtool for installing "l2-config".
@
text
@#!/bin/sh
##
## OSSP l2 - Flexible Logging
## Copyright (c) 2001-2005 Cable & Wireless
## Copyright (c) 2001-2005 The OSSP Project
## Copyright (c) 2001-2005 Ralf S. Engelschall
##
## This file is part of OSSP l2, a flexible logging library which
## can be found at http://www.ossp.org/pkg/lib/l2/.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
## l2-config.in: library build utility
##
DIFS='
'
prefix="@@prefix@@"
exec_prefix="@@exec_prefix@@"
datarootdir="@@datarootdir@@"
l2_prefix="$prefix"
l2_exec_prefix="$exec_prefix"
l2_bindir="@@bindir@@"
l2_libdir="@@libdir@@"
l2_includedir="@@includedir@@"
l2_mandir="@@mandir@@"
l2_datadir="@@datadir@@"
l2_acdir="@@datadir@@/aclocal"
l2_cflags="@@CFLAGS@@"
l2_ldflags="@@LDFLAGS@@"
l2_libs="@@LIBS@@"
l2_version="@@L2_VERSION_STR@@"
help=no
version=no
usage="l2-config"
usage="$usage [--help] [--version] [--all]"
usage="$usage [--prefix] [--exec-prefix] [--bindir] [--libdir] [--includedir] [--mandir] [--datadir] [--acdir]"
usage="$usage [--cflags] [--ldflags] [--libs]"
if [ $# -eq 0 ]; then
echo "l2-config:Error: Invalid option" 1>&2
echo "l2-config:Usage: $usage" 1>&2
exit 1
fi
output=''
output_extra=''
all=no
prev=''
OIFS="$IFS" IFS="$DIFS"
for option
do
if [ ".$prev" != . ]; then
eval "$prev=\$option"
prev=''
continue
fi
case "$option" in
-*=*) optarg=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg='' ;;
esac
case "$option" in
--help|-h)
echo "Usage: $usage"
exit 0
;;
--version|-v)
echo "OSSP l2 $l2_version"
exit 0
;;
--all)
all=yes
;;
--prefix)
output="$output $l2_prefix"
;;
--exec-prefix)
output="$output $l2_exec_prefix"
;;
--bindir)
output="$output $l2_bindir"
;;
--libdir)
output="$output $l2_libdir"
;;
--includedir)
output="$output $l2_includedir"
;;
--mandir)
output="$output $l2_mandir"
;;
--datadir)
output="$output $l2_datadir"
;;
--acdir)
output="$output $l2_acdir"
;;
--cflags)
output="$output -I$l2_includedir"
output_extra="$output_extra $l2_cflags"
;;
--ldflags)
output="$output -L$l2_libdir"
output_extra="$output_extra $l2_ldflags"
;;
--libs)
output="$output -ll2"
output_extra="$output_extra $l2_libs"
;;
* )
echo "l2-config:Error: Invalid option" 1>&2
echo "l2-config:Usage: $usage" 1>&2
exit 1;
;;
esac
done
IFS="$OIFS"
if [ ".$prev" != . ]; then
echo "l2-config:Error: missing argument to --`echo $prev | sed 's/_/-/g'`" 1>&2
exit 1
fi
if [ ".$output" != . ]; then
if [ ".$all" = .yes ]; then
output="$output $output_extra"
fi
echo $output
fi
@
1.9
log
@Adjust copyright messages for new year 2005.
@
text
@d37 1
@
1.8
log
@Adjust copyright messages for new year 2005.
@
text
@d4 3
a6 3
## Copyright (c) 2001-2004 Cable & Wireless
## Copyright (c) 2001-2004 The OSSP Project
## Copyright (c) 2001-2004 Ralf S. Engelschall
@
1.7
log
@- remove trailing whitespaces
- adjust copyright messages
- consistently use "OSSP l2"
- consistently talk about "Flexible Logging"
- use standard OSSP ASCII-art
@
text
@d4 3
a6 3
## Copyright (c) 2001-2003 Cable & Wireless Deutschland GmbH
## Copyright (c) 2001-2003 The OSSP Project (http://www.ossp.org/)
## Copyright (c) 2001-2003 Ralf S. Engelschall
@
1.6
log
@polish for release
@
text
@d3 4
a6 3
## OSSP l2 - Logging Library
## Copyright (c) 2001-2002 The OSSP Project (http://www.ossp.org/)
## Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/)
d8 1
a8 1
## This file is part of OSSP L2, a flexible logging library which
d29 1
a29 1
## l2-config.in: L2 library build utility
d32 1
a32 1
DIFS='
d85 1
a85 1
echo "OSSP L2 $l2_version"
@
1.5
log
@bump copyright year
@
text
@d3 1
a3 1
## L2 - OSSP Logging Library
d8 1
a8 1
## can be found at http://www.ossp.org/pkg/l2/.
@
1.4
log
@Remove all half-done C++ things. Because in the near future we neither
will have time to finish this nor do we really want it to be finished.
So kick out all of this stuff. If we later want to add real C++ support,
we can easily apply this again.
@
text
@d4 2
a5 2
## Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
## Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
@
1.3
log
@Fix more ossp.com references by replacing with the
correct domain name ossp.org.
@
text
@d56 1
a56 1
usage="$usage [--cflags] [--ldflags] [--libs] [--libs++]"
a123 4
output_extra="$output_extra $l2_libs"
;;
--libs++)
output="$output -ll2++"
@
1.2
log
@Major overhaul and improvement of build environment. Especially we now
added optional support for C++ building with --with-cxx.
@
text
@d8 1
a8 1
## can be found at http://www.ossp.com/pkg/l2/.
@
1.1
log
@Initial revision
@
text
@d56 1
a56 1
usage="$usage [--cflags] [--ldflags] [--libs]"
d124 4
@
1.1.1.1
log
@L2 initial source tree
@
text
@@