head 1.9; access; symbols STR_0_9_12:1.9 LMTP2NNTP_1_4_1:1.9 LMTP2NNTP_1_4_0:1.9 STR_0_9_11:1.9 STR_0_9_10:1.9 LMTP2NNTP_1_3_0:1.8 LMTP2NNTP_1_3b2:1.8 LMTP2NNTP_1_3b1:1.8 LMTP2NNTP_1_3a3:1.8 LMTP2NNTP_1_3a2:1.8 STR_0_9_9:1.8 LMTP2NNTP_1_3a1:1.8 STR_0_9_8:1.8 LMTP2NNTP_1_2_0:1.8 LMTP2NNTP_1_2b4:1.8 LMTP2NNTP_1_2b3:1.8 LMTP2NNTP_1_2b2:1.8 LMTP2NNTP_1_2b1:1.8 LMTP2NNTP_1_2a8:1.8 LMTP2NNTP_1_2a7:1.8 LMTP2NNTP_1_2a6:1.7 LMTP2NNTP_1_2a5:1.7 STR_0_9_7:1.7 LMTP2NNTP_1_2a4:1.5 LMTP2NNTP_1_2a3:1.5 OSSP_RC_SPEC:1.5 LMTP2NNTP_1_2a1:1.4 LMTP2NNTP_1_1_1:1.4 LMTP2NNTP_1_1_0:1.4 LMTP2NNTP_1_1b4:1.4 LMTP2NNTP_1_1b3:1.4 LMTP2NNTP_1_1b2:1.4 LMTP2NNTP_1_1b1:1.4 STR_0_9_6:1.4 STR_0_9_5:1.3 STR_0_9_4:1.2 STR_0_9_3:1.2 STR_0_9_2:1.2 STR_0_9_1:1.2 STR_0_9_0:1.2; locks; strict; comment @# @; 1.9 date 2005.01.24.15.22.19; author rse; state Exp; branches; next 1.8; 1.8 date 2003.01.06.19.13.47; author rse; state Exp; branches; next 1.7; 1.7 date 2002.04.01.09.15.37; author rse; state Exp; branches; next 1.6; 1.6 date 2002.04.01.08.32.54; author rse; state Exp; branches; next 1.5; 1.5 date 2002.01.02.17.09.13; author rse; state Exp; branches; next 1.4; 1.4 date 2001.08.30.17.37.02; author rse; state Exp; branches; next 1.3; 1.3 date 2001.08.16.13.21.22; author rse; state Exp; branches; next 1.2; 1.2 date 2000.01.01.13.05.17; author rse; state Exp; branches; next 1.1; 1.1 date 99.12.26.15.01.20; author rse; state Exp; branches; next ; desc @@ 1.9 log @Adjusted copyright messages for new year 2004/2005. @ text @#!/bin/sh ## ## OSSP str - String Handling ## Copyright (c) 1999-2005 Ralf S. Engelschall ## Copyright (c) 1999-2005 The OSSP Project ## ## This file is part of OSSP str, a string handling and manipulation ## library which can be found at http://www.ossp.org/pkg/lib/str/. ## ## 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. ## ## str-config.in: Configuration Tool ## DIFS=' ' prefix="@@prefix@@" exec_prefix="@@exec_prefix@@" str_prefix="$prefix" str_exec_prefix="$exec_prefix" str_bindir="@@bindir@@" str_libdir="@@libdir@@" str_includedir="@@includedir@@" str_mandir="@@mandir@@" str_datadir="@@datadir@@" str_acdir="@@datadir@@/aclocal" str_cflags="@@CFLAGS@@" str_ldflags="@@LDFLAGS@@" str_libs="@@LIBS@@" str_version="@@STR_VERSION_STR@@" help=no version=no usage="str-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 "str-config:Error: Invalid option" 1>&2 echo "str-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 str $str_version" exit 0 ;; --all) all=yes ;; --prefix) output="$output $str_prefix" ;; --exec-prefix) output="$output $str_exec_prefix" ;; --bindir) output="$output $str_bindir" ;; --libdir) output="$output $str_libdir" ;; --includedir) output="$output $str_includedir" ;; --mandir) output="$output $str_mandir" ;; --datadir) output="$output $str_datadir" ;; --acdir) output="$output $str_acdir" ;; --cflags) output="$output -I$str_includedir" output_extra="$output_extra $str_cflags" ;; --ldflags) output="$output -L$str_libdir" output_extra="$output_extra $str_ldflags" ;; --libs) output="$output -lstr" output_extra="$output_extra $str_libs" ;; * ) echo "str-config:Error: Invalid option" 1>&2 echo "str-config:Usage: $usage" 1>&2 exit 1; ;; esac done IFS="$OIFS" if [ ".$prev" != . ]; then echo "str-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.8 log @- adjust copyright messages for new year 2003 - strip trailing whitespaces - consistently use OSSP ASCII-art - add standard devtool.conf stuff from OSSP sa @ text @d4 2 a5 2 ## Copyright (c) 1999-2003 Ralf S. Engelschall ## Copyright (c) 1999-2003 The OSSP Project @ 1.7 log @more branding @ text @d4 2 a5 2 ## Copyright (c) 1999-2002 Ralf S. Engelschall ## Copyright (c) 1999-2002 The OSSP Project d7 1 a7 1 ## This file is part of OSSP str, a string handling and manipulation d31 1 a31 1 DIFS=' @ 1.6 log @finally switch to full OSSP branding @ text @d84 1 a84 1 echo "Str $str_version" @ 1.5 log @bump copyright year @ text @d3 1 a3 1 ## Str - String Library d5 1 d7 2 a8 2 ## This file is part of Str, a string handling and manipulation ## library which can be found at http://www.engelschall.com/sw/str/. @ 1.4 log @Fix version variable in str-config.in @ text @d4 1 a4 1 ## Copyright (c) 1999-2001 Ralf S. Engelschall @ 1.3 log @Adjust copyright for year 2001. @ text @d47 1 a47 1 str_version="@@PTH_VERSION_STR@@" @ 1.2 log @*** empty log message *** @ text @d4 1 a4 1 ## Copyright (c) 1999-2000 Ralf S. Engelschall @ 1.1 log @*** empty log message *** @ text @d4 1 a4 1 ## Copyright (c) 1999 Ralf S. Engelschall @