head 1.8; access; symbols XDS_0_9_3:1.8 XDS_0_9_2:1.8 XDS_0_9_1:1.7 XDS_0_9_0:1.6; locks; strict; comment @# @; 1.8 date 2005.06.02.18.51.44; author rse; state Exp; branches; next 1.7; 1.7 date 2004.09.12.17.32.14; author rse; state Exp; branches; next 1.6; 1.6 date 2003.02.17.12.36.02; author rse; state Exp; branches; next 1.5; 1.5 date 2002.03.17.10.25.53; author rse; state Exp; branches; next 1.4; 1.4 date 2002.01.02.17.13.44; author rse; state Exp; branches; next 1.3; 1.3 date 2001.08.13.19.48.02; author rse; state Exp; branches; next 1.2; 1.2 date 2001.08.12.11.31.45; author rse; state Exp; branches; next 1.1; 1.1 date 2001.08.09.21.19.28; author rse; state Exp; branches; next ; desc @@ 1.8 log @Bumped year in copyright messages for year 2005. @ text @#!/bin/sh ## ## OSSP xds - Extensible Data Serialization ## Copyright (c) 2001-2005 Ralf S. Engelschall ## Copyright (c) 2001-2005 The OSSP Project ## Copyright (c) 2001-2005 Cable & Wireless ## ## This file is part of OSSP xds, an extensible data serialization ## library which can be found at http://www.ossp.org/pkg/lib/xds/. ## ## 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. ## ## xds-config.in: XDS library build utility ## DIFS=' ' prefix="@@prefix@@" exec_prefix="@@exec_prefix@@" xds_prefix="$prefix" xds_exec_prefix="$exec_prefix" xds_bindir="@@bindir@@" xds_libdir="@@libdir@@" xds_includedir="@@includedir@@" xds_mandir="@@mandir@@" xds_datadir="@@datadir@@" xds_acdir="@@datadir@@/aclocal" xds_cflags="@@CFLAGS@@" xds_ldflags="@@LDFLAGS@@" xds_libs="@@LIBS@@" xds_version="@@XDS_VERSION_STR@@" help=no version=no usage="xds-config" usage="$usage [--help] [--version] [--all]" usage="$usage [--prefix] [--exec-prefix] [--bindir] [--libdir] [--includedir] [--mandir] [--datadir] [--acdir]" usage="$usage [--cflags] [--ldflags] [--libs] [--libs++]" if [ $# -eq 0 ]; then echo "xds-config:Error: Invalid option" 1>&2 echo "xds-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 xds $xds_version" exit 0 ;; --all) all=yes ;; --prefix) output="$output $xds_prefix" ;; --exec-prefix) output="$output $xds_exec_prefix" ;; --bindir) output="$output $xds_bindir" ;; --libdir) output="$output $xds_libdir" ;; --includedir) output="$output $xds_includedir" ;; --mandir) output="$output $xds_mandir" ;; --datadir) output="$output $xds_datadir" ;; --acdir) output="$output $xds_acdir" ;; --cflags) output="$output -I$xds_includedir" output_extra="$output_extra $xds_cflags" ;; --ldflags) output="$output -L$xds_libdir" output_extra="$output_extra $xds_ldflags" ;; --libs) output="$output -lxds" output_extra="$output_extra $xds_libs" ;; * ) echo "xds-config:Error: Invalid option" 1>&2 echo "xds-config:Usage: $usage" 1>&2 exit 1; ;; esac done IFS="$OIFS" if [ ".$prev" != . ]; then echo "xds-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.7 log @Bumped year in copyright messages for year 2004. @ text @d4 3 a6 3 ## Copyright (c) 2001-2004 Ralf S. Engelschall ## Copyright (c) 2001-2004 The OSSP Project ## Copyright (c) 2001-2004 Cable & Wireless @ 1.6 log @upgrade to standard OSSP copyright and bump year to 2003 @ text @d4 3 a6 3 ## Copyright (c) 2001-2003 Ralf S. Engelschall ## Copyright (c) 2001-2003 The OSSP Project ## Copyright (c) 2001-2003 Cable & Wireless Germany @ 1.5 log @update texts @ text @d4 3 a6 2 ## Copyright (c) 2001-2002 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/) @ 1.4 log @bump copyright year @ text @d3 1 a3 1 ## XDS - OSSP Extensible Data Serialization Library d7 2 a8 2 ## This file is part of OSSP XDS, an extensible data serialization ## library which can be found at http://www.ossp.org/pkg/xds/. d84 1 a84 1 echo "OSSP XDS $xds_version" @ 1.3 log @Remove trailing whitespaces on all non-generated files. @ 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.2 log @Hhmm... who has introduced ossp.com?! Our project's domain is ossp.org, of course. @ text @d6 1 a6 1 ## d9 1 a9 1 ## d14 1 a14 1 ## d31 1 a31 1 DIFS=' @ 1.1 log @Add xds-config stuff for building applications with OSSP XDS. This will be installed with XDS soon... @ text @d8 1 a8 1 ## library which can be found at http://www.ossp.com/pkg/xds/. @