autoconf

Achim Gratz Stromeko@nexgo.de
Thu Dec 2 19:41:13 GMT 2021


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


More information about the Cygwin-apps mailing list