Sync to HEAD
[bpt/emacs.git] / src / s / openbsd.h
CommitLineData
b8098ef8
DL
1/* s/ file for openbsd systems. */
2
4a2abeb2 3/* Mostly the same as NetBSD. */
b8098ef8 4#include "netbsd.h"
f9acb75e
GM
5
6/* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
7 is necessary. Otherwise Emacs dumps core when run -nw. */
8#undef LIBS_TERMCAP
4a2abeb2
RS
9
10#define TERMINFO
11#define LIBS_TERMCAP -lncurses
12
763dbe6b 13#undef LD_SWITCH_SYSTEM_TEMACS
4a2abeb2
RS
14#undef LD_SWITCH_SYSTEM
15#ifdef __ELF__
16
17/* Han Boetes <han@mijncomputer.nl> says this
18 is necessary, otherwise Emacs dumps core on elf systems. */
19#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
20
21#else
22
23#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
24
25#endif
6b61353c
KH
26
27/* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2
28 (do not change this comment) */