Port to QNX
commit1d83257a1db3a9b87675a0dfc68cb4964cecaa09
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Oct 2017 19:54:28 +0000 (24 12:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Oct 2017 19:55:15 +0000 (24 12:55 -0700)
treeca3d11bdb03cf1591004adecb6e3596e730a369d
parent19667f44efabda7d4e53e706c6cd8140145b2a1a
Port to QNX

Simplified version of a patch proposed by Elad Lahav in:
https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00716.html
which is based on a previous patch I proposed in:
https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00707.html
* configure.ac (opsys, CFLAGS, LIBS_SYSTEM, hybrid_malloc)
(system_alloc, FIRST_PTY_LETTER, CYGWIN_OBJ):
Set appropriately for QNX.
* src/unexelf.c [__QNX__]: Include <sys/elf.h> instead of <elf.h>.
(unexec): Check for sbrk failure, and fall back on old BSS end.
configure.ac
src/unexelf.c