changeset 51877:cf068b0ef3c5

Don't include bsd4-3.h. (TERMINFO): Defined. (LIBS_TERMCAP): Defined. (LD_SWITCH_SYSTEM): Defined (two definitions).
author Richard M. Stallman <rms@gnu.org>
date Sat, 12 Jul 2003 21:44:13 +0000
parents ca63e0b1c55c
children aa3263cb4987
files src/s/openbsd.h
diffstat 1 files changed, 17 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/openbsd.h	Sat Jul 12 21:40:39 2003 +0000
+++ b/src/s/openbsd.h	Sat Jul 12 21:44:13 2003 +0000
@@ -1,11 +1,24 @@
 /* s/ file for openbsd systems.  */
 
-/* Get most of the stuff from bsd4.3 */
-#include "bsd4-3.h"
-
-/* Get the rest of the stuff from that less-POSIX-conformant system */
+/* Mostly the same as NetBSD.  */
 #include "netbsd.h"
 
 /*  David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
     is necessary.  Otherwise Emacs dumps core when run -nw.  */
 #undef LIBS_TERMCAP
+
+#define TERMINFO
+#define LIBS_TERMCAP -lncurses
+
+#undef LD_SWITCH_SYSTEM
+#ifdef __ELF__
+
+/*  Han Boetes <han@mijncomputer.nl> says this
+    is necessary,  otherwise Emacs dumps core on elf systems.  */
+#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
+
+#else
+
+#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
+
+#endif