aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2003-07-12 21:44:13 +0000
committerRichard M. Stallman2003-07-12 21:44:13 +0000
commit4a2abeb21a5870693564401ea343c0e4f1323c3e (patch)
treec233cbc02e8137fad4b75df21ff75b7d0c22ce03 /src
parent5a0a05fe7c3c2c163f1d1a4569bbd2c7e5953de8 (diff)
downloademacs-4a2abeb21a5870693564401ea343c0e4f1323c3e.tar.gz
emacs-4a2abeb21a5870693564401ea343c0e4f1323c3e.zip
Don't include bsd4-3.h.
(TERMINFO): Defined. (LIBS_TERMCAP): Defined. (LD_SWITCH_SYSTEM): Defined (two definitions).
Diffstat (limited to 'src')
-rw-r--r--src/s/openbsd.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/src/s/openbsd.h b/src/s/openbsd.h
index e0c2b6851c7..6e7aefc592b 100644
--- a/src/s/openbsd.h
+++ b/src/s/openbsd.h
@@ -1,11 +1,24 @@
1/* s/ file for openbsd systems. */ 1/* s/ file for openbsd systems. */
2 2
3/* Get most of the stuff from bsd4.3 */ 3/* Mostly the same as NetBSD. */
4#include "bsd4-3.h"
5
6/* Get the rest of the stuff from that less-POSIX-conformant system */
7#include "netbsd.h" 4#include "netbsd.h"
8 5
9/* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this 6/* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
10 is necessary. Otherwise Emacs dumps core when run -nw. */ 7 is necessary. Otherwise Emacs dumps core when run -nw. */
11#undef LIBS_TERMCAP 8#undef LIBS_TERMCAP
9
10#define TERMINFO
11#define LIBS_TERMCAP -lncurses
12
13#undef LD_SWITCH_SYSTEM
14#ifdef __ELF__
15
16/* Han Boetes <han@mijncomputer.nl> says this
17 is necessary, otherwise Emacs dumps core on elf systems. */
18#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
19
20#else
21
22#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
23
24#endif