head 1.8; access; symbols PTH_2_0_7:1.7 PTH_2_0_6:1.6 PTH_2_0_5:1.6 PTH_2_0_4:1.6 PTH_2_0_3:1.5 PTH_2_0_2:1.5 PTH_2_0_1:1.5 PTH_2_0_0:1.4 PTH_2_0b2:1.3 PTH_2_0b1:1.3 PTH_2_0b0:1.3; locks; strict; comment @# @; 1.8 date 2007.01.01.18.23.52; author rse; state Exp; branches; next 1.7; commitid 9DhdiirNzQPBIP0s; 1.7 date 2006.06.08.17.54.51; author rse; state Exp; branches; next 1.6; commitid x8N3mLVdQgkbdeAr; 1.6 date 2004.12.31.19.34.44; author rse; state Exp; branches; next 1.5; 1.5 date 2004.07.13.10.50.49; author rse; state Exp; branches; next 1.4; 1.4 date 2003.01.01.15.49.11; author rse; state Exp; branches; next 1.3; 1.3 date 2002.10.15.20.34.22; author rse; state Exp; branches; next 1.2; 1.2 date 2002.07.01.12.54.54; author rse; state Exp; branches; next 1.1; 1.1 date 2002.01.30.12.54.22; author rse; state Exp; branches; next ; desc @@ 1.8 log @Adjusted all copyright messages for new year 2007. @ text @## ## devtool.func -- Development Tool Functions ## Copyright (c) 2001-2007 Ralf S. Engelschall ## devtool_require () { t="$1"; o="$2"; p="$3"; e="$4"; a="$5" v=`($t $o | head -1 | awk "{ print \\\$$p; }") 2>/dev/null` if [ ".$v" = . ]; then echo "devtool:ERROR: unable to determine version of $t" 1>&2 exit 1 fi case "$v" in $e ) ;; $a ) echo "devtool:WARNING: $t version $v still accepted, although expected $e." 1>&2 ;; * ) echo "devtool:ERROR: $t version $e expected, but found $v." 1>&2 exit 1 ;; esac echo "$v" } devtool_autogen () { tool=$1 shift case $tool in autoconf ) autoconf_version=`devtool_require autoconf --version 4 "$1" "$2"` echo "generating (GNU Autoconf $autoconf_version): configure config.h.in" autoconf autoheader 2>&1 | grep -v "is unchanged" rm -rf autom4te.cache >/dev/null 2>&1 ;; libtool ) libtoolize_version=`devtool_require libtoolize --version 4 "$1" "$2"` echo "generating (GNU Libtool $libtoolize_version): ltmain.sh, libtool.m4, config.guess, config.sub" libtoolize --force --copy >/dev/null 2>&1 cp `libtoolize --force --copy --dry-run | grep "add the contents of" |\ sed -e 's;^[^\`]*\`;;' -e "s;'.*;;"` libtool.m4 ;; shtool ) shtoolize_version=`devtool_require shtoolize -v 3 "$1" "$2"` echo "generating (GNU Shtool $shtoolize_version): shtool" shift shift shtoolize -q "$@@" ;; esac } devtool_autoclean () { tool=$1 shift case $tool in autoconf ) echo "removing: configure config.h.in" rm -f configure config.h.in ;; libtool ) echo "removing: ltmain.sh libtool.m4 config.guess config.sub" rm -f ltmain.sh libtool.m4 config.guess config.sub ;; shtool ) echo "removing: shtool" rm -f shtool ;; esac } @ 1.7 log @Adjusted all copyright messages for new year 2006 @ text @d3 1 a3 1 ## Copyright (c) 2001-2006 Ralf S. Engelschall @ 1.6 log @Adjusted all copyright messages for new year 2005. @ text @d3 1 a3 1 ## Copyright (c) 2001-2005 Ralf S. Engelschall @ 1.5 log @Adjusted all copyright messages for new year 2004. @ text @d3 1 a3 1 ## Copyright (c) 2001-2004 Ralf S. Engelschall @ 1.4 log @Adjusted all copyright messages for new year 2003. @ text @d3 1 a3 1 ## Copyright (c) 2001-2003 Ralf S. Engelschall @ 1.3 log @remove trailing whitespaces @ text @d3 1 a3 1 ## Copyright (c) 2001-2002 Ralf S. Engelschall @ 1.2 log @Finally make Pth working again under new Autoconf 2.53 environment. @ text @d3 1 a3 1 ## Copyright (c) 2001-2002 Ralf S. Engelschall @ 1.1 log @Woohhooo! Major GNU Pth source tree overhauling: - Removed all generated files from CVS. - Use OSSP devtool stuff to re-generate files on demand. - Switched to Autoconf 2.52 and Libtool 1.4.2 environment. @ text @d3 1 a3 1 ## Copyright (c) 2001 Ralf S. Engelschall d36 1 @