public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [cygport - the Cygwin packaging tool] branch master, updated. 0.35.2-1-g8407994
@ 2022-08-13 21:52 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2022-08-13 21:52 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/cygport.git;h=8407994126516d73aeb17b6b829578c0848a4c4d

commit 8407994126516d73aeb17b6b829578c0848a4c4d
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Jul 20 13:14:12 2022 +0100

    autotools.cygclass: Fix detecting autoconf version 2.13
    
    configure scripts generated with autoconf 2.13 produce a slightly
    different output for --version:
    
    $ ./configure --version
    configure generated by autoconf version 2.13


Diff:
---
 cygclass/autotools.cygclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cygclass/autotools.cygclass b/cygclass/autotools.cygclass
index 7d56cbf..c83dd00 100644
--- a/cygclass/autotools.cygclass
+++ b/cygclass/autotools.cygclass
@@ -663,7 +663,7 @@ cygconf() {
 	configure="${confdir}/configure"
 	if [ -z ${AUTOCONF_VERSION} ]
 	then
-		confver="$("$configure" --version | sed -rn 's/.*GNU Autoconf ([0-9\.]+)/\1/p')"
+		confver="$("$configure" --version | sed -rn 's/.*(GNU Autoconf|autoconf version) ([0-9\.]+)/\2/p')"
 	else
 		confver=${AUTOCONF_VERSION}
 	fi



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-13 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-13 21:52 [cygport - the Cygwin packaging tool] branch master, updated. 0.35.2-1-g8407994 Jon TURNEY

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).