head 1.12; access; symbols SOURCE_RESTRUCTURING_AFTER:1.11 SOURCE_RESTRUCTURING_BEFORE:1.10 LMTP2NNTP_1_2a1:1.8 LMTP2NNTP_1_1_1:1.7 LMTP2NNTP_1_1_0:1.7 LMTP2NNTP_1_1b4:1.7 LMTP2NNTP_1_1b3:1.7 LMTP2NNTP_1_1b2:1.6 LMTP2NNTP_1_1b1:1.6 LMTP2NNTP_1_0_0:1.5 LMTP2NNTP_0_9_7:1.5 LMTP2NNTP_0_9_6:1.5 LMTP2NNTP_0_9_5:1.5 LMTP2NNTP_0_9_4:1.3 LMTP2NNTP_0_9_3:1.3 LMTP2NNTP_0_9_2:1.3 LMTP2NNTP_0_9_1:1.3 LMTP2NNTP_0_9_0:1.3; locks; strict; comment @# @; 1.12 date 2001.12.31.12.03.09; author thl; state dead; branches; next 1.11; 1.11 date 2001.12.31.11.09.52; author thl; state Exp; branches; next 1.10; 1.10 date 2001.12.31.10.23.09; author thl; state Exp; branches; next 1.9; 1.9 date 2001.12.11.12.02.26; author rse; state Exp; branches; next 1.8; 1.8 date 2001.12.11.11.53.11; author thl; state Exp; branches; next 1.7; 1.7 date 2001.11.07.16.21.40; author rse; state Exp; branches; next 1.6; 1.6 date 2001.10.02.13.36.33; author rse; state Exp; branches; next 1.5; 1.5 date 2001.09.05.09.10.28; author rse; state Exp; branches; next 1.4; 1.4 date 2001.09.04.09.46.06; author rse; state Exp; branches; next 1.3; 1.3 date 2001.08.20.11.28.29; author rse; state Exp; branches; next 1.2; 1.2 date 2001.08.20.10.33.22; author rse; state Exp; branches; next 1.1; 1.1 date 2001.08.20.10.02.44; author rse; state Exp; branches; next ; desc @@ 1.12 log @switch to devtool stuff @ text @#!/bin/sh ## ## Copyright (c) 2001 The OSSP Project ## Copyright (c) 2001 Cable & Wireless Deutschland ## ## This file is part of OSSP lmtp2nntp, an LMTP speaking local ## mailer which forwards mails as Usenet news articles via NNTP. ## It can be found at http://www.ossp.org/pkg/lmtp2nntp/. ## ## This program is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License ## as published by the Free Software Foundation; either version ## 2.0 of the License, or (at your option) any later version. ## ## This program 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 ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this file; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ## USA, or contact the OSSP project . ## ## autogen.sh: auto-generate build environment ## # generator tools version sanity check for spec in \ "autoconf --version 4 2.52 2.5*" \ "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 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 # perform same operation in subdirs echo "===> lib_str (autogen.sh)" (cd lib_str && ./devtool autogen) echo "<=== lib_str" echo "===> lib_l2 (devtool)" (cd lib_l2 && ./devtool autogen) echo "<=== lib_l2" echo "===> lib_sa (devtool)" (cd lib_sa && ./devtool autogen) echo "<=== lib_sa" echo "===> lib_var (devtool)" (cd lib_var && ./devtool autogen) echo "<=== lib_var" @ 1.11 log @Mega-Commit: Finally restructure the lmtp2nntp source tree in order to clean it up. We especially use a consistent prefix for all inlined sources. @ text @@ 1.10 log @fix autogen.sh to reflect recent str changes @ text @d67 12 a78 12 echo "===> str (autogen.sh)" (cd str && ./devtool autogen) echo "<=== str" echo "===> l2 (devtool)" (cd l2 && ./devtool autogen) echo "<=== l2" echo "===> sa (devtool)" (cd sa && ./devtool autogen) echo "<=== sa" echo "===> var (devtool)" (cd var && ./devtool autogen) echo "<=== var" @ 1.9 log @activate OSSP var @ text @d68 1 a68 1 (cd str && ./autogen.sh) @ 1.8 log @switch to latest L2 version @ text @d70 1 a70 1 echo "===> l2 (devtool" d76 3 @ 1.7 log @fix autogen stuff for SA in lmtp2nntp @ text @d70 2 a71 2 echo "===> l2 (autogen.sh)" (cd l2 && ./autogen.sh) d73 2 a74 2 echo "===> sa (autogen.sh)" (cd sa && ./devtool autogen) @ 1.6 log @use the brand-new OSSP SA library (first cut) @ text @d74 1 a74 1 (cd sa && ./autogen.sh) @ 1.5 log @Add support for local OSSP Str and OSSP L2 library source copies. @ text @d73 3 @ 1.4 log @Finally apply GNU General Public License (GPL) to OSSP lmtp2nntp. @ text @d66 8 @ 1.3 log @Autoconf phase 4 @ text @d3 23 a25 1 ## autogen.sh: auto-generate library build environment tools @ 1.2 log @Autoconf phase 2 @ text @d38 1 a38 1 #autoheader @ 1.1 log @Autoconf phase 1 @ text @d41 2 a42 2 # echo "GNU Shtool $shtoolize_version -> shtool" # shtoolize -q all @