1/* s/ file for openbsd systems.  */
2
3/* Mostly the same as NetBSD.  */
4#include "netbsd.h"
5
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
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
16
17#define TERMINFO
18#define LIBS_TERMCAP -lncurses
19
20#undef LD_SWITCH_SYSTEM_TEMACS
21#undef LD_SWITCH_SYSTEM
22#ifdef __ELF__
23
24  /*  Han Boetes <han@mijncomputer.nl> says this
25      is necessary,  otherwise Emacs dumps core on elf systems.  */
26#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
27
28/* The version of gcc on OpenBSD doesn't search /usr/local/lib by
29   default.  */
30#define LD_SWITCH_X_DEFAULT -L/usr/local/lib
31
32#else
33
34#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
35#define LD_SWITCH_X_DEFAULT -L/usr/local/lib
36
37#endif
38
39/* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2
40   (do not change this comment) */
41