Commit | Line | Data |
---|---|---|
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 | ||
763dbe6b | 20 | #undef LD_SWITCH_SYSTEM_TEMACS |
4a2abeb2 RS |
21 | #undef LD_SWITCH_SYSTEM |
22 | #ifdef __ELF__ | |
23 | ||
9299be0c CY |
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 | |
4a2abeb2 | 27 | |
9299be0c CY |
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 | |
4a2abeb2 | 31 | |
9299be0c CY |
32 | #else |
33 | ||
34 | #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp | |
35 | #define LD_SWITCH_X_DEFAULT -L/usr/local/lib | |
4a2abeb2 RS |
36 | |
37 | #endif | |
ab5796a9 MB |
38 | |
39 | /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 | |
40 | (do not change this comment) */ |