Sync to HEAD
[bpt/emacs.git] / src / s / openbsd.h
1 /* s/ file for openbsd systems. */
2
3 /* Mostly the same as NetBSD. */
4 #include "netbsd.h"
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
9
10 #define TERMINFO
11 #define LIBS_TERMCAP -lncurses
12
13 #undef LD_SWITCH_SYSTEM_TEMACS
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
26
27 /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2
28 (do not change this comment) */