head 1.3; access; symbols LMTP2NNTP_1_1b2:1.2 LMTP2NNTP_1_1b1:1.2 SA_0_0_0:1.1.1.1 VENDOR:1.1.1; locks; strict; comment @# @; 1.3 date 2001.10.24.13.36.11; author rse; state dead; branches; next 1.2; 1.2 date 2001.10.02.18.37.19; author rse; state Exp; branches; next 1.1; 1.1 date 2001.10.02.13.27.44; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.10.02.13.27.44; author rse; state Exp; branches; next ; desc @@ 1.3 log @Replace old autogen.sh with first cut for a "devtool" based approach where we don't have to repeat code in such a redundant way. The "devtool" and "devtool.func" files will be moved to their own project soon and only "devtool.conf" will remain inside each package. @ text @#!/bin/sh # generator tools version sanity check for spec in \ "autoconf --version 4 2.52 2.5*" \ "libtoolize --version 4 1.4.2 1.4*" \ "shtoolize -v 3 1.5.4 1.5.*" do set -- $spec 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 "$0:ERROR: unable to determine version of $t" 1>&2 exit 1 fi eval "${t}_version=\"$v\"" case "$v" in $e ) ;; $a ) echo "$0:WARNING: $t version $v still accepted, although expected $e." 1>&2 ;; * ) echo "$0:ERROR: $t version $e expected, but found $v." 1>&2 ;; esac done # GNU Libtool generation echo "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 # GNU Autoconf generation echo "GNU Autoconf $autoconf_version -> configure, config.h.in" autoconf autoheader # GNU Shtool generation echo "GNU Shtool $shtoolize_version -> shtool" shtoolize -q all @ 1.2 log @Upgrade ad-hoc build environment to standard OSSP build environment. @ text @@ 1.1 log @Initial revision @ text @a3 2 # "libtoolize --version 4 1.4.2 1.4*" # "shtoolize -v 3 1.5.4 1.5.*" d5 3 a7 1 "autoconf --version 4 2.52 2.5*" d34 4 a37 4 # echo "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 d45 2 a46 2 # echo "GNU Shtool $shtoolize_version -> shtool" # shtoolize -q all @ 1.1.1.1 log @Import first cut of OSSP SA @ text @@