# HG changeset patch # User Richard M. Stallman # Date 1058046253 0 # Node ID cf068b0ef3c562a4d45d9b11d9a96b64f18c842d # Parent ca63e0b1c55c4dc8c2af02b6ae95b8584242555e Don't include bsd4-3.h. (TERMINFO): Defined. (LIBS_TERMCAP): Defined. (LD_SWITCH_SYSTEM): Defined (two definitions). diff -r ca63e0b1c55c -r cf068b0ef3c5 src/s/openbsd.h --- 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 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