head 1.7; access; symbols FSL_1_7_0:1.7 CFG_0_9_11:1.7 FSL_1_6_1:1.6 CFG_0_9_10:1.6 FSL_1_6_0:1.6 FSL_1_6b2:1.6 CFG_0_9_9:1.6 FSL_1_6b1:1.6 CFG_0_9_8:1.6 CFG_0_9_7:1.5 CFG_0_9_6:1.5 CFG_0_9_5:1.5 CFG_0_9_4:1.5 FSL_1_5_0:1.4 FSL_1_5a3:1.4 CFG_0_9_3:1.4 FSL_1_5a2:1.4 FSL_1_5a1:1.4 FSL_1_4_0:1.3 FSL_1_4b1:1.3 CFG_0_9_2:1.3 CFG_0_9_1:1.3 FSL_1_4a1:1.3 FSL_1_3_0:1.3 FSL_1_3b1:1.3 FSL_1_2_1:1.3 FSL_1_2_0:1.3 FSL_1_1_0:1.3 FSL_1_1b1:1.3 FSL_1_0_8:1.3 FSL_1_0_7:1.3 FSL_1_0_6:1.1 FSL_1_0_5:1.1 FSL_1_0_4:1.1 FSL_1_0_3:1.1 FSL_1_0_2:1.1 FSL_1_0_1:1.1 FSL_1_0_0:1.1 FSL_0_9_0:1.1 CFG_0_9_0:1.1 FSL_0_1_12:1.1 FSL_0_1_11:1.1 FSL_0_1_10:1.1 FSL_0_1_9:1.1 FSL_0_1_8:1.1 FSL_0_1_7:1.1 FSL_0_1_6:1.1 FSL_0_1_5:1.1 FSL_0_1_1:1.1; locks; strict; comment @# @; 1.7 date 2006.08.10.19.35.57; author rse; state Exp; branches; next 1.6; commitid Isy241gp4yykKkIr; 1.6 date 2004.12.31.19.16.25; author rse; state Exp; branches; next 1.5; 1.5 date 2004.07.17.07.37.55; author rse; state Exp; branches; next 1.4; 1.4 date 2004.03.19.15.43.32; author thl; state Exp; branches; next 1.3; 1.3 date 2003.01.27.16.29.32; author thl; state Exp; branches; next 1.2; 1.2 date 2003.01.06.11.17.43; author rse; state Exp; branches; next 1.1; 1.1 date 2002.07.09.08.29.19; author rse; state Exp; branches; next ; desc @@ 1.7 log @cleanup source tree for status as of 2006 @ text @## ## devtool.func -- Development Tool Functions ## Copyright (c) 2001-2006 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 accepted, but expected $e." 1>&2 ;; * ) echo "devtool:ERROR: $t version $v NOT acceptable, requires $e." 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.6 log @Adjust copyright messages for new year 2005. @ text @d3 1 a3 1 ## Copyright (c) 2001-2005 Ralf S. Engelschall @ 1.5 log @Adjust copyright messages for new year 2004. @ text @d3 1 a3 1 ## Copyright (c) 2001-2004 Ralf S. Engelschall @ 1.4 log @Upgrade and unify build environment devtool an devtool.func; change devtool.conf to require current versions of shtool, libtool and autoconf @ text @d3 1 a3 1 ## Copyright (c) 2001-2003 Ralf S. Engelschall @ 1.3 log @saying "still" is confusing if existing version is newer than expected @ text @d3 1 a3 1 ## Copyright (c) 2001-2003 Ralf S. Engelschall @ 1.2 log @update copyright messages for new year @ text @d17 1 a17 1 echo "devtool:WARNING: $t version $v still accepted, although expected $e." 1>&2 d20 1 a20 1 echo "devtool:ERROR: $t version $e expected, but found $v." 1>&2 @ 1.1 log @add standard OSSP autoconf/libtool/shtool environment @ text @d3 1 a3 1 ## Copyright (c) 2001-2002 Ralf S. Engelschall @