X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/a0451a715e4ed018a02b825d0eb823424693d1de..c0ece6a5c4c8dc87be1da6808289c88de19d8398:/src/s/openbsd.h diff --git a/src/s/openbsd.h b/src/s/openbsd.h index 3b996de705..175d61dc9c 100644 --- a/src/s/openbsd.h +++ b/src/s/openbsd.h @@ -1,40 +1,5 @@ -/* s/ file for openbsd systems. */ +/* System file for openbsd. */ -/* Mostly the same as NetBSD. */ +/* The same as NetBSD. Note there are differences in configure. */ #include "netbsd.h" -/* This very-badly named symbol is conditionally defined in netbsd.h. - Better would be either to not need it in the first place, or to choose - a more descriptive name. */ -#ifndef LD_SWITCH_SYSTEM_tmp -#define LD_SWITCH_SYSTEM_tmp /* empty */ -#endif - -/* 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_TEMACS -#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 - -/* The version of gcc on OpenBSD doesn't search /usr/local/lib by - default. */ -#define LD_SWITCH_X_DEFAULT -L/usr/local/lib - -#else - -#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -#define LD_SWITCH_X_DEFAULT -L/usr/local/lib - -#endif - -/* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 - (do not change this comment) */