]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't include bsd4-3.h.
authorRichard M. Stallman <rms@gnu.org>
Sat, 12 Jul 2003 21:44:13 +0000 (21:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 12 Jul 2003 21:44:13 +0000 (21:44 +0000)
(TERMINFO): Defined.
(LIBS_TERMCAP): Defined.
(LD_SWITCH_SYSTEM): Defined (two definitions).

src/s/openbsd.h

index e0c2b6851c7c85f5048cbaf22e55515cadde534e..6e7aefc592b9eff3afab5a3b5ba9b3d1cb491c84 100644 (file)
@@ -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