GNU bug report logs - #18612
non-portable shell substitution in configure.ac

Previous Next

Package: emacs;

Reported by: Assaf Gordon <assafgordon <at> gmail.com>

Date: Thu, 2 Oct 2014 19:23:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Assaf Gordon <assafgordon <at> gmail.com>
Cc: 18612 <at> debbugs.gnu.org
Subject: bug#18612: [platform-testers] Emacs pretest 24.3.94
Date: Thu, 02 Oct 2014 22:47:01 +0300
> Date: Thu, 02 Oct 2014 15:22:41 -0400
> From: Assaf Gordon <assafgordon <at> gmail.com>
> 
> On thing I noticed, is that "configure.ac" (and thus "./configure")
> has the following statement (line 38):
>      srcdir="/${srcdir:0:1}${srcdir:2}"
> 
> I believe these are bash-specific variable expansions, not posix-compatible.
> 
> This appears in an MINGW-related "if" block, so I guess most of the time it is not encountered.

MinGW uses only Bash.




This bug report was last modified 10 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.