From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: PATH_SEPARATOR in test/automated/Makefile.in Date: Wed, 27 Nov 2013 13:42:55 -0500 Message-ID: References: <834n6xae5e.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1385577775 26974 80.91.229.3 (27 Nov 2013 18:42:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Nov 2013 18:42:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 27 19:43:02 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vlk4j-0001KP-N7 for ged-emacs-devel@m.gmane.org; Wed, 27 Nov 2013 19:43:01 +0100 Original-Received: from localhost ([::1]:37307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vlk4j-0002YZ-7R for ged-emacs-devel@m.gmane.org; Wed, 27 Nov 2013 13:43:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vlk4f-0002YU-JD for emacs-devel@gnu.org; Wed, 27 Nov 2013 13:42:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vlk4e-0007mU-GT for emacs-devel@gnu.org; Wed, 27 Nov 2013 13:42:57 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vlk4e-0007mP-DB for emacs-devel@gnu.org; Wed, 27 Nov 2013 13:42:56 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Vlk4d-0001Ez-PD; Wed, 27 Nov 2013 13:42:55 -0500 X-Spook: North Korea threat United Nations benelux SCUD missile X-Ran: t{E0o%';w]%iv!wHM7*[.d4XeW.IXY=?F\|Iw?/8/`1BS;|Z0sO9LSOPZz;U8^JXOgiFXq X-Hue: cyan X-Attribution: GM In-Reply-To: <834n6xae5e.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 27 Nov 2013 20:33:01 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165811 Archived-At: Eli Zaretskii wrote: > The problem is that (a) @PATH_SEPARATOR@ is replaced with ':' (of > course: what else did you think MSYS Bash will use?), You greatly overestimate my knowledge of and interest in MSYS Bash. ;) > and (b) the automatic replacement of ":." with ";." doesn't happen > either, because evidently the MSYS heuristics doesn't consider "." > something that cannot be anything but a file name, so it plays safe > and leaves it alone (":./" does work). OK, err, ok. AFAIK, I just did what you told me to in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15933#14 and subsequent. How come http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15933#47 said it worked then? (Ah, he uses an out-of-tree build, so his $srcdir contains a "/".) > So the possibilities as I see them are: > > . Remove PATH_SEPARATOR and use -L "$(PATH_SEPARATOR)$(srcdir)/" > (with a slash) instead of -L "$(PATH_SEPARATOR)$(srcdir)" Seems a bit flaky to me. > . Leave PATH_SEPARATOR, but set it to ';' "manually" for MinGW, > instead of relying on $PATH_SEPARATOR computed in configure by > asking Bash. Sounds better to me (assuming you mean making up some new variable, rather than modifiying PATH_SEPARATOR, in case that inadvertently breaks something else that's using it). But please do whatever you think is best. Obviously I keep getting it wrong.