delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/07/12:56:05

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Dean Scarff <dos AT scarff DOT id DOT au>
Subject: Re: Cygport bug: autoconf 2.6x check fails 2.61.
Date: Sat, 08 Dec 2007 02:36:32 +0900
Lines: 19
Message-ID: <m263zacspr.fsf@scarff.id.au>
References: <announce DOT E2260BB9-DDD1-42BD-9916-9A23DEDF97F9 AT scarff DOT id DOT au> <82wsrubplj DOT fsf AT vzell-de DOT de DOT oracle DOT com> <m21w9yilga DOT fsf AT scarff DOT id DOT au> <m2ir3ah1ov DOT fsf_-_ AT scarff DOT id DOT au> <060901c838f5$51c0c530$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

>   I don't see why both of those regexes wouldn't successfully match
> '2.61' already.  Your patch looks like it's trying to make the regex
> accept "2.6" with no second digit after the decimal place as well.
> Can you perhaps clarify?

Oh dear.  Apparently MIME inline attachments + gmane + ezmlm isn't a
good combination.  There was an explanation ;)

In short, the grep + cut doesn't quite work like it used to because
there is a trailing period.  The case glob (which is not a POSIX regex
under the Bourne shell, right?) matches "x2.61." as well as "x2.60",
which is what we want.

Either way the whole thing isn't a robust check, autoconf's manual
doesn't make any claims to insert that particular string.

-- 
Dean


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019