From 4a2abeb21a5870693564401ea343c0e4f1323c3e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 12 Jul 2003 21:44:13 +0000 Subject: [PATCH] Don't include bsd4-3.h. (TERMINFO): Defined. (LIBS_TERMCAP): Defined. (LD_SWITCH_SYSTEM): Defined (two definitions). --- src/s/openbsd.h | 21 +++++++++++++++++---- 1 file 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 @@ /* 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 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 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 -- 2.39.2