public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin-apps@cygwin.com
Subject: Re: autoconf
Date: Thu, 02 Dec 2021 20:41:13 +0100	[thread overview]
Message-ID: <87h7bqlrqe.fsf@Rainer.invalid> (raw)
In-Reply-To: <87o85ylvkh.fsf@Rainer.invalid> (Achim Gratz's message of "Thu, 02 Dec 2021 19:18:22 +0100")

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
+++ #<buffer 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

      reply	other threads:[~2021-12-02 19:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30 20:29 autoconf Marco Atzeri
2021-12-01 19:56 ` autoconf Achim Gratz
2021-12-02  6:08   ` autoconf Brian Inglis
2021-12-02  7:23     ` autoconf ASSI
2021-12-02  9:21       ` autoconf Corinna Vinschen
2021-12-02 10:15         ` autoconf Jan Nijtmans
2021-12-02 10:40           ` autoconf Corinna Vinschen
2021-12-02 10:45             ` autoconf Jan Nijtmans
2021-12-02 13:18           ` autoconf ASSI
2021-12-02 13:32             ` autoconf Corinna Vinschen
2021-12-02 16:36               ` autoconf Ken Brown
2021-12-02 13:19           ` autoconf Ken Brown
2021-12-02 18:18             ` autoconf Achim Gratz
2021-12-02 19:41               ` Achim Gratz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7bqlrqe.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).