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_1_0b8:1.10 PTH_1_0b7:1.10 PTH_1_0b6:1.10 PTH_1_0b5:1.8 PTH_1_0b4:1.8 PTH_1_0b3:1.6 PTH_1_0b2:1.6 PTH_1_0b1:1.5 PTH_0_9_21:1.5 PTH_0_9_20:1.5 PTH_0_9_19:1.5 PTH_0_9_18:1.5 PTH_0_9_17:1.5 PTH_0_9_16:1.5 PTH_0_9_15:1.5 PTH_0_9_14:1.5 PTH_0_9_13:1.4 PTH_0_9_12:1.3 PTH_0_9_11:1.3 PTH_0_9_10:1.3 PTH_0_9_9:1.3 PTH_0_9_8:1.3 PTH_0_9_7:1.2 PTH_0_9_6:1.2 PTH_0_9_5:1.1.1.1 PTH_0_9_4:1.1.1.1 PTH_0_9_3:1.1.1.1 PTH_0_9_2:1.1.1.1 PTH_0_9_1:1.1.1.1 PTH_0_9_0:1.1.1.1 RSE:1.1.1; locks; strict; comment @# @; 1.29 date 2007.01.01.18.23.52; author rse; state Exp; branches; next 1.28; commitid 9DhdiirNzQPBIP0s; 1.28 date 2006.06.08.17.54.51; author rse; state Exp; branches; next 1.27; commitid x8N3mLVdQgkbdeAr; 1.27 date 2004.12.31.19.34.44; author rse; state Exp; branches; next 1.26; 1.26 date 2004.07.13.10.50.49; author rse; state Exp; branches; next 1.25; 1.25 date 2003.01.01.15.49.11; author rse; state Exp; branches; next 1.24; 1.24 date 2002.10.15.20.34.22; author rse; state Exp; branches; next 1.23; 1.23 date 2002.01.27.11.03.40; author rse; state Exp; branches; next 1.22; 1.22 date 2001.03.24.14.51.04; author rse; state Exp; branches; next 1.21; 1.21 date 99.12.30.21.58.59; author rse; state Exp; branches; next 1.20; 1.20 date 99.12.24.15.32.51; author rse; state Exp; branches; next 1.19; 1.19 date 99.11.09.08.11.30; author rse; state Exp; branches; next 1.18; 1.18 date 99.11.03.09.59.37; author rse; state Exp; branches; next 1.17; 1.17 date 99.11.01.10.27.18; author rse; state Exp; branches; next 1.16; 1.16 date 99.10.31.11.46.11; author rse; state Exp; branches 1.16.2.1; next 1.15; 1.15 date 99.09.26.08.58.40; author rse; state Exp; branches; next 1.14; 1.14 date 99.09.25.13.25.30; author rse; state Exp; branches; next 1.13; 1.13 date 99.09.17.08.01.54; author rse; state Exp; branches; next 1.12; 1.12 date 99.09.02.08.38.00; author rse; state Exp; branches; next 1.11; 1.11 date 99.07.21.14.28.23; author rse; state Exp; branches 1.11.2.1; next 1.10; 1.10 date 99.07.12.08.20.52; author rse; state Exp; branches; next 1.9; 1.9 date 99.07.12.08.19.32; author rse; state Exp; branches; next 1.8; 1.8 date 99.07.08.10.34.00; author rse; state Exp; branches; next 1.7; 1.7 date 99.07.08.10.19.10; author rse; state Exp; branches; next 1.6; 1.6 date 99.07.04.12.05.34; author rse; state Exp; branches; next 1.5; 1.5 date 99.06.01.14.36.33; author rse; state Exp; branches; next 1.4; 1.4 date 99.06.01.09.55.26; author rse; state Exp; branches; next 1.3; 1.3 date 99.05.24.07.58.13; author rse; state Exp; branches; next 1.2; 1.2 date 99.05.22.14.37.52; author rse; state Exp; branches; next 1.1; 1.1 date 99.05.13.12.18.16; author rse; state Exp; branches 1.1.1.1; next ; 1.16.2.1 date 99.11.01.10.24.58; author rse; state Exp; branches; next ; 1.11.2.1 date 99.09.02.11.18.51; author rse; state Exp; branches; next ; 1.1.1.1 date 99.05.13.12.18.16; author rse; state Exp; branches; next ; desc @@ 1.29 log @Adjusted all copyright messages for new year 2007. @ text @#!/bin/sh ## ## GNU Pth - The GNU Portable Threads ## Copyright (c) 1999-2007 Ralf S. Engelschall ## ## This file is part of GNU Pth, a non-preemptive thread scheduling ## library which can be found at http://www.gnu.org/software/pth/. ## ## This library is free software; you can redistribute it and/or ## modify it under the terms of the GNU Lesser General Public ## License as published by the Free Software Foundation; either ## version 2.1 of the License, or (at your option) any later version. ## ## This library is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## Lesser General Public License for more details. ## ## You should have received a copy of the GNU Lesser General Public ## License along with this library; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ## USA, or contact Ralf S. Engelschall . ## ## pth-config.in: Pth library build utility ## DIFS=' ' prefix="@@prefix@@" exec_prefix="@@exec_prefix@@" pth_prefix="$prefix" pth_exec_prefix="$exec_prefix" pth_bindir="@@bindir@@" pth_libdir="@@libdir@@" pth_includedir="@@includedir@@" pth_mandir="@@mandir@@" pth_datadir="@@datadir@@" pth_acdir="@@datadir@@/aclocal" pth_cflags="@@CFLAGS@@" pth_ldflags="@@LDFLAGS@@" pth_libs="@@LIBS@@" pth_version="@@PTH_VERSION_STR@@" help=no version=no usage="pth-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 "pth-config:Error: Invalid option" 1>&2 echo "pth-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" echo "Report bugs to bug-pth@@gnu.org" exit 0 ;; --version|-v) echo "GNU Pth $pth_version" exit 0 ;; --all) all=yes ;; --prefix) output="$output $pth_prefix" ;; --exec-prefix) output="$output $pth_exec_prefix" ;; --bindir) output="$output $pth_bindir" ;; --libdir) output="$output $pth_libdir" ;; --includedir) output="$output $pth_includedir" ;; --mandir) output="$output $pth_mandir" ;; --datadir) output="$output $pth_datadir" ;; --acdir) output="$output $pth_acdir" ;; --cflags) output="$output -I$pth_includedir" output_extra="$output_extra $pth_cflags" ;; --ldflags) output="$output -L$pth_libdir" output_extra="$output_extra $pth_ldflags" ;; --libs) output="$output -lpth" output_extra="$output_extra $pth_libs" ;; * ) echo "pth-config:Error: Invalid option" 1>&2 echo "pth-config:Usage: $usage" 1>&2 exit 1; ;; esac done IFS="$OIFS" if [ ".$prev" != . ]; then echo "pth-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.28 log @Adjusted all copyright messages for new year 2006 @ text @d4 1 a4 1 ## Copyright (c) 1999-2006 Ralf S. Engelschall @ 1.27 log @Adjusted all copyright messages for new year 2005. @ text @d4 1 a4 1 ## Copyright (c) 1999-2005 Ralf S. Engelschall @ 1.26 log @Adjusted all copyright messages for new year 2004. @ text @d4 1 a4 1 ## Copyright (c) 1999-2004 Ralf S. Engelschall @ 1.25 log @Adjusted all copyright messages for new year 2003. @ text @d4 1 a4 1 ## Copyright (c) 1999-2003 Ralf S. Engelschall @ 1.24 log @remove trailing whitespaces @ text @d4 1 a4 1 ## Copyright (c) 1999-2002 Ralf S. Engelschall @ 1.23 log @bump copyright year @ text @d27 1 a27 1 DIFS=' @ 1.22 log @*** empty log message *** @ text @d4 1 a4 1 ## Copyright (c) 1999-2001 Ralf S. Engelschall @ 1.21 log @*** empty log message *** @ text @d4 1 a4 1 ## Copyright (c) 1999-2000 Ralf S. Engelschall @ 1.20 log @*** empty log message *** @ text @d4 1 a4 1 ## Copyright (c) 1999 Ralf S. Engelschall @ 1.19 log @*** empty log message *** @ text @d27 1 a27 1 DIFS=' d58 2 a59 2 output="" output_extra="" d67 1 a67 1 prev="" @ 1.18 log @*** empty log message *** @ text @d27 1 a27 1 DIFS=' d75 1 a75 1 --help|-h) d123 1 a123 1 * ) @ 1.17 log @*** empty log message *** @ text @d39 2 d51 1 a51 1 usage="$usage [--prefix] [--exec-prefix] [--bindir] [--libdir] [--includedir] [--mandir]" d104 6 @ 1.16 log @*** empty log message *** @ text @d3 1 a3 2 ## pth-config -- Pth library build utility ## d23 2 @ 1.16.2.1 log @*** empty log message *** @ text @d3 2 a4 1 ## GNU Pth - The GNU Portable Threads a23 2 ## ## pth-config.in: Pth library build utility @ 1.15 log @*** empty log message *** @ text @d13 1 a13 1 ## version 2 of the License, or (at your option) any later version. @ 1.14 log @*** empty log message *** @ text @d33 1 d48 1 a48 1 usage="$usage [--prefix] [--bindir] [--libdir] [--includedir] [--mandir]" d86 3 @ 1.13 log @*** empty log message *** @ text @d33 1 d45 4 a48 1 usage="pth-config [--help] [--version] [--all] [--cflags] [--ldflags] [--libs]" d82 15 @ 1.12 log @*** empty log message *** @ text @d11 1 a11 1 ## modify it under the terms of the GNU Library General Public d18 1 a18 1 ## Library General Public License for more details. d20 1 a20 1 ## You should have received a copy of the GNU Library General Public @ 1.11 log @*** empty log message *** @ text @d44 1 a44 1 usage="$0 [--help] [--version] [--cflags] [--ldflags] [--libs]" d46 2 a47 2 echo "$0:Error: Invalid option" 1>&2 echo "$0:Usage: $usage" 1>&2 d50 3 d76 3 d80 2 a81 1 echo "-I$pth_includedir $pth_cflags" d84 2 a85 1 echo "-L$pth_libdir $pth_ldflags" d88 2 a89 1 echo "-lpth $pth_libs" d92 2 a93 2 echo "$0:Error: Invalid option" 1>&2 echo "$0:Usage: $usage" 1>&2 d100 1 a100 1 echo "$0:Error: missing argument to --`echo $prev | sed 's/_/-/g'`" 1>&2 d102 6 @ 1.11.2.1 log @*** empty log message *** @ text @d44 1 a44 1 usage="pth-config [--help] [--version] [--all] [--cflags] [--ldflags] [--libs]" d46 2 a47 2 echo "pth-config:Error: Invalid option" 1>&2 echo "pth-config:Usage: $usage" 1>&2 a49 3 output="" output_extra="" all=no a72 3 --all) all=yes ;; d74 1 a74 2 output="$output -I$pth_includedir" output_extra="$output_extra $pth_cflags" d77 1 a77 2 output="$output -L$pth_libdir" output_extra="$output_extra $pth_ldflags" d80 1 a80 2 output="$output -lpth" output_extra="$output_extra $pth_libs" d83 2 a84 2 echo "pth-config:Error: Invalid option" 1>&2 echo "pth-config:Usage: $usage" 1>&2 d91 1 a91 1 echo "pth-config:Error: missing argument to --`echo $prev | sed 's/_/-/g'`" 1>&2 a92 6 fi if [ ".$output" != . ]; then if [ ".$all" = .yes ]; then output="$output $output_extra" fi echo $output @ 1.10 log @*** empty log message *** @ text @d74 1 a74 1 echo "-I$pth_includedir" @ 1.9 log @*** empty log message *** @ text @d65 1 a65 1 echo "$0:Usage: $usage" d67 1 a67 1 exit 1 @ 1.8 log @*** empty log message *** @ text @d66 1 d70 1 a70 1 echo "PTH $pth_version" @ 1.7 log @*** empty log message *** @ text @d3 1 a3 1 ## pth-config -- PTH library build utility @ 1.6 log @*** empty log message *** @ text @d7 2 a8 2 ## This file is part of PTH, a non-preemptive thread scheduling library ## which can be found at http://www.gnu.org/software/pth/. @ 1.5 log @*** empty log message *** @ text @d8 1 a8 1 ## which can be found at http://www.engelschall.com/sw/pth/. @ 1.4 log @*** empty log message *** @ text @d90 1 a90 1 echo "$-1:${T_MD}Error${T_ME}: missing argument to --`echo $prev | sed 's/_/-/g'`" 1>&2 @ 1.3 log @*** empty log message *** @ text @d21 1 a21 1 ## License along with this library; if not, write to the Free @ 1.2 log @*** empty log message *** @ text @d7 1 a7 1 ## This file is part of PTH, a non-preemtive thread scheduling library @ 1.1 log @Initial revision @ text @d3 1 a3 2 ## pth-config -- PTH library build configuration utility ## Copyright (c) 1999 Ralf S. Engelschall, All Rights Reserved. d5 21 @ 1.1.1.1 log @Import of PTH into CVS @ text @@