* s/netbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure sets nocombreloc.
[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 5
32b939ea
TTN
6/* This very-badly named symbol is conditionally defined in netbsd.h.
7 Better would be either to not need it in the first place, or to choose
8 a more descriptive name. */
9#ifndef LD_SWITCH_SYSTEM_tmp
10#define LD_SWITCH_SYSTEM_tmp /* empty */
11#endif
12
f9acb75e
GM
13/* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
14 is necessary. Otherwise Emacs dumps core when run -nw. */
15#undef LIBS_TERMCAP
4a2abeb2
RS
16
17#define TERMINFO
18#define LIBS_TERMCAP -lncurses
19
20#undef LD_SWITCH_SYSTEM
4a2abeb2 21
9299be0c
CY
22 /* Han Boetes <han@mijncomputer.nl> says this
23 is necessary, otherwise Emacs dumps core on elf systems. */
24#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
4a2abeb2 25
9299be0c
CY
26/* The version of gcc on OpenBSD doesn't search /usr/local/lib by
27 default. */
28#define LD_SWITCH_X_DEFAULT -L/usr/local/lib
4a2abeb2 29
ab5796a9
MB
30/* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2
31 (do not change this comment) */