|
From: | Paul Eggert |
Subject: | Re: [Emacs-diffs] trunk r116889: Require GNU make to build Emacs |
Date: | Thu, 27 Mar 2014 14:43:32 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 03/27/2014 01:05 PM, Daniel Colascione wrote:
Can we also require a reasonable POSIX shell and simplify configure.ac?
This should be acceptable nowadays, since 'configure' is pretty good about finding a POSIX-compatible shell first thing, and it reexecutes itself with such a file if it finds one. If we're careful about using '$(SHELL)' rather than 'sh' elsewhere, we should be able to use POSIX features in other shell scripts too.
We should be able to use shell functions, for example. However, we can't assume every niggling feature required by POSIX.For details, please see the Autoconf manual's chapter on portable shell programming, e.g., its section on shell functions.
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Portable-Shell.html
[Prev in Thread] | Current Thread | [Next in Thread] |