]> git.eshelyaron.com Git - emacs.git/commitdiff
Rewrite to use netbsd.h and define NO_SHARED_LIBS.
authorRichard M. Stallman <rms@gnu.org>
Sun, 17 Apr 1994 05:04:12 +0000 (05:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 17 Apr 1994 05:04:12 +0000 (05:04 +0000)
src/s/freebsd.h

index 23f096e844213f266557576b8667d1ae7ba6e062..76d3d5047f78da93175ca5e1456cde640325b84a 100644 (file)
@@ -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