freebsd-nq/sys/conf
Garrett Wollman 9ae159169a Make it easier for programs to figure out what revision of FreeBSD they
are running under.  Here's how to bootstrap (order is important):

1) Re-compile gcc (just the driver is all you need).
2) Re-compile libc.
3) Re-compile your kernel.  Reboot.
4) cd /usr/src/include; make install

You can now detect the compilation environment with the following code:

#if !defined(__FreeBSD__)
#define __FreeBSD_version 199401
#elif __FreeBSD__ == 1
#define __FreeBSD_version 199405
#else
#include <osreldate.h>
#endif

You can determine the run-time environment by calling the new C library
function getosreldate(), or by examining the MIB variable kern.osreldate.

For the time being, the release date is defined as 199409, which we have
already established as our target.
1994-08-10 06:25:07 +00:00
..
defines BSD 4.4 Lite Kernel Sources 1994-05-24 10:09:53 +00:00
files Made lockf advisory locking code generic (rather than ufs specific), and 1994-08-08 17:31:01 +00:00
files.i386 The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. 1994-05-25 09:21:21 +00:00
files.newconf BSD 4.4 Lite Kernel Sources 1994-05-24 10:09:53 +00:00
Makefile.i386 Don't strip the kernel. 1994-08-06 10:52:15 +00:00
Makefile.powerpc Don't strip the kernel. 1994-08-06 10:52:15 +00:00
newvers.sh Make it easier for programs to figure out what revision of FreeBSD they 1994-08-10 06:25:07 +00:00
nfsswapkernel.c Renamed this thing, and change 'vmunix' to 'kernel' internally. 1994-08-05 09:25:31 +00:00
nfsswapvmunix.c Added $Id$ 1994-08-02 07:55:43 +00:00
NOTES Remove the now bogus IP_VAT_COMPAT. 1994-05-18 16:23:25 +00:00
param.c Added $Id$ 1994-08-02 07:55:43 +00:00
systags.sh Added $Id$ 1994-08-02 07:55:43 +00:00