From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id 8DD153858001 for ; Thu, 2 Dec 2021 19:41:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8DD153858001 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de Received: from smtp.vodafone.de (unknown [10.2.0.39]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id F1143617D3 for ; Thu, 2 Dec 2021 20:41:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1638474080; bh=KwBOkExSsBJNnTkGOa2fPAcyG2hl9023wcyJty8f5D0=; h=From:To:Subject:References:Date:In-Reply-To; b=jhgfO5YfGc1KmmJxcUmTts0rHgzNWs5xf5CzfIyjv7QoY/+ywR3cnCXd7gmWueyuj Gfq+we2XTu6WBTHWw9HO5YILtGSvMnYT9fpUsdnPxo9yK/N5HZszb/SVDHbeqWh9cO NTFg/D/ygV2gLTyIh+dvp8/m75y1MDGvr2XYLH0o= Received: from Gertrud (p5b2f3fbc.dip0.t-ipconnect.de [91.47.63.188]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4J4mXw3DTtz9tFx for ; Thu, 2 Dec 2021 19:41:17 +0000 (UTC) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: autoconf References: <87mtlk6qvq.fsf@Rainer.invalid> <2262e475-e281-bfc9-b00c-c471b8ad58cb@SystematicSw.ab.ca> <87wnkncvxf.fsf@Otto.invalid> <0c9abaef-6147-ffb1-2eb3-245bed608cc1@cornell.edu> <87o85ylvkh.fsf@Rainer.invalid> Date: Thu, 02 Dec 2021 20:41:13 +0100 In-Reply-To: <87o85ylvkh.fsf@Rainer.invalid> (Achim Gratz's message of "Thu, 02 Dec 2021 19:18:22 +0100") Message-ID: <87h7bqlrqe.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 1236 X-purgate-ID: 149169::1638474080-000004E2-361128FF/0/0 X-Spam-Status: No, score=-3025.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPAM_URI, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2021 19:41:25 -0000 Achim Gratz writes: > In light of the fact that 2.71 again is not backwards compatible, that > patch needs to be somewhat more extensive and include different > WANT_AUTOCONF settings. Something like this, which keeps the default autoconf version at 2.69 for the moment (and is untested right now). --- /usr/share/cygport/cygclass/autotools.cygclass +++ # @@ -391,12 +391,21 @@ warning "libtool is incompatible with autoconf-2.13"; fi ;; - 2.5|'') - WANT_AUTOCONF=2.5 - - case $(autoconf --version 2> /dev/null | head -n 1) in + 2.5|2.7|2.71|'') + case "${WANT_AUTOCONF}" in + 2.5|'') + WANT_AUTOCONF=2.5 + case $(autoconf --version 2> /dev/null | head -n 1) in autoconf*2.[56]?) ;; *) error "autoconf2.5 is required to build this package" ;; + esac + ;; + 2.7|2.71) + WANT_AUTOCONF=2.71 + case $(autoconf --version 2> /dev/null | head -n 1) in + autoconf*2.[7]?) ;; + *) error "autoconf2.7 is required to build this package" ;; + esac esac if __config_equals with_libtool 1 Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html