diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-04-17 05:04:12 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-04-17 05:04:12 +0000 |
commit | 3051bc72d6473640e9242726e76e8de412c829fe (patch) | |
tree | 72ada9b7878e03d6d56d5b23b69adf9aebd1fe2b /src/s | |
parent | 61ef9d86a9a95492f860d08133148aa26b1a06cd (diff) | |
download | emacs-3051bc72d6473640e9242726e76e8de412c829fe.tar.gz emacs-3051bc72d6473640e9242726e76e8de412c829fe.tar.bz2 emacs-3051bc72d6473640e9242726e76e8de412c829fe.zip |
Rewrite to use netbsd.h and define NO_SHARED_LIBS.
Diffstat (limited to 'src/s')
-rw-r--r-- | src/s/freebsd.h | 46 |
1 files changed, 9 insertions, 37 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 23f096e8442..76d3d5047f7 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -1,41 +1,13 @@ /* s/ file for freebsd system. */ -/* Get most of the stuff from bsd4.3 */ -#include "bsd4-3.h" +/* '__FreeBSD__' is defined by the preprocessor on FreeBSD-1.1 and up. + Earlier versions do not have shared libraries, so inhibit them. */ +#ifndef __FreeBSD__ +#define NO_SHARED_LIBS +#endif -#undef SYSTEM_TYPE -#define SYSTEM_TYPE "freebsd" +#include "netbsd.h" -#undef KERNEL_FILE -#define KERNEL_FILE "/386bsd" - -#undef LDAV_SYMBOL -#define LDAV_SYMBOL "_averunnable" - -#define SIGNALS_VIA_CHARACTERS - -#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) - -#define A_TEXT_OFFSET(x) (sizeof (struct exec)) -#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) - -#define LIBS_DEBUG -#define LIBS_SYSTEM -lutil - -#define HAVE_GETLOADAVG - -/* For mem-limits.h. */ -#define BSD4_2 - -/* Shared library stuff. */ -#define TEXT_START 0 -#define DATA_START 0 -#define UNEXEC unexfreebsd.o -#define RUN_TIME_REMAP -#define LINKER cc - -/* Reread the time zone on startup. */ -#define LOCALTIME_CACHE - -#define HAVE_TERMIOS -#define NO_TERMIO +#undef LIB_GCC +#define LIB_GCC -lgcc +#undef NEED_ERRNO |