head 1.4; access; symbols SIO_0_9_3:1.4 AL_0_9_3:1.4 AL_0_9_2:1.4 SIO_0_9_2:1.3 SIO_0_9_1:1.3 SIO_0_9_0:1.3 AL_0_9_0:1.2; locks; strict; comment @# @; 1.4 date 2005.10.03.08.43.03; author rse; state Exp; branches; next 1.3; 1.3 date 2003.01.06.13.49.24; author rse; state Exp; branches; next 1.2; 1.2 date 2002.12.16.14.02.45; author rse; state Exp; branches; next 1.1; 1.1 date 2002.12.16.12.24.52; author mlelstv; state Exp; branches; next ; desc @@ 1.4 log @o Upgraded build environment to GNU autoconf 2.59, GNU libtool 1.5.20 and GNU shtool 2.0.3 o Provide Autoconf check (AC_CHECK_VA_COPY) for va_copy(d,s) macro and fallback implementations and now that we can be sure that va_copy() exists for us, use it in var_formatv() and ts.c instead of the direct assignments (which are not sufficiently portable). o Adjusted copyright messages for year 2005. @ text @#!/bin/sh ## ## OSSP al - Assembly Line ## Copyright (c) 2002-2005 Ralf S. Engelschall ## Copyright (c) 2002-2005 The OSSP Project ## Copyright (c) 2002-2005 Cable & Wireless ## Copyright (c) 2002-2005 Michael van Elst ## ## This file is part of OSSP al, an abstract datatype of a data buffer ## that can assemble, move and truncate data but avoids actual copying ## and which can be found at http://www.ossp.org/pkg/lib/al/. ## ## 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. ## ## al-config.in: AL library build utility ## DIFS=' ' prefix="@@prefix@@" exec_prefix="@@exec_prefix@@" al_prefix="$prefix" al_exec_prefix="$exec_prefix" al_bindir="@@bindir@@" al_libdir="@@libdir@@" al_includedir="@@includedir@@" al_mandir="@@mandir@@" al_datadir="@@datadir@@" al_acdir="@@datadir@@/aclocal" al_cflags="@@CFLAGS@@" al_ldflags="@@LDFLAGS@@" al_libs="@@LIBS@@" al_version="@@AL_VERSION_STR@@" help=no version=no usage="al-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 "al-config:Error: Invalid option" 1>&2 echo "al-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 al $al_version" exit 0 ;; --all) all=yes ;; --prefix) output="$output $al_prefix" ;; --exec-prefix) output="$output $al_exec_prefix" ;; --bindir) output="$output $al_bindir" ;; --libdir) output="$output $al_libdir" ;; --includedir) output="$output $al_includedir" ;; --mandir) output="$output $al_mandir" ;; --datadir) output="$output $al_datadir" ;; --acdir) output="$output $al_acdir" ;; --cflags) output="$output -I$al_includedir" output_extra="$output_extra $al_cflags" ;; --ldflags) output="$output -L$al_libdir" output_extra="$output_extra $al_ldflags" ;; --libs) output="$output -lal" output_extra="$output_extra $al_libs" ;; * ) echo "al-config:Error: Invalid option" 1>&2 echo "al-config:Usage: $usage" 1>&2 exit 1; ;; esac done IFS="$OIFS" if [ ".$prev" != . ]; then echo "al-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.3 log @Adjust copyright messages for new year 2003 @ text @d4 4 a7 4 ## Copyright (c) 2002-2003 Ralf S. Engelschall ## Copyright (c) 2002-2003 The OSSP Project ## Copyright (c) 2002-2003 Cable & Wireless Deutschland ## Copyright (c) 2002-2003 Michael van Elst @ 1.2 log @post-adjustments to source tree @ text @d4 4 a7 4 ## Copyright (c) 2002 Ralf S. Engelschall ## Copyright (c) 2002 The OSSP Project ## Copyright (c) 2002 Cable & Wireless Deutschland ## Copyright (c) 2002 Michael van Elst @ 1.1 log @initial snapshot for OSSP al @ text @d10 2 a11 1 ## that can assemble, move and truncate data but avoids actual copying. @