view src/s/openbsd.h @ 52218:bdc9a2bc9371

(Saving Emacs Sessions): Manual M-x desktop-save not required.
author Alex Schroeder <alex@gnu.org>
date Sun, 17 Aug 2003 09:37:37 +0000
parents 64835b08503d
children 695cf19ef79e
line wrap: on
line source

/* s/ file for openbsd systems.  */

/* 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_TEMACS
#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