diff options
author | marcel <marcel@FreeBSD.org> | 1999-10-30 10:55:48 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-10-30 10:55:48 +0000 |
commit | 8024dcb61d2990a84407cbaf035def0f1b8cffdd (patch) | |
tree | a9d2384ac6461c3a49b2c9508ecc88304b9ac808 /usr.sbin/config/config.h | |
parent | 91b84ac6af4009a0ae8b9cb3e59d9a8108e5fc96 (diff) | |
download | FreeBSD-src-8024dcb61d2990a84407cbaf035def0f1b8cffdd.zip FreeBSD-src-8024dcb61d2990a84407cbaf035def0f1b8cffdd.tar.gz |
Add option "-d destdir" which instructs config to use another output
directory than the default one. If the option is not given, then the
output of config is exactly as before. Only when an alternate output
directory has been specified will config modify its behavior.
Additional changed:
o Remove the now conflicting and unused NODEV define. It
conflicts with NODEV in sys/param.h.
o Rename the now conflicting MACHINE token to ARCH. It
conflicts with MACHINE in sys/param.h.
o Fix some easy style bugs.
o Fix some easy grammar bugs in the manpage.
Approved by: peter, archie
Diffstat (limited to 'usr.sbin/config/config.h')
-rw-r--r-- | usr.sbin/config/config.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h index d1fdb3e..5b7eef7 100644 --- a/usr.sbin/config/config.h +++ b/usr.sbin/config/config.h @@ -41,8 +41,6 @@ #include <stdlib.h> #include <string.h> -#define NODEV ((dev_t)-1) - struct file_list { struct file_list *f_next; char *f_fn; /* the name */ @@ -177,6 +175,7 @@ extern int maxusers; extern int old_config_present; /* Old config/build directory still there */ extern char *PREFIX; /* Config file name - for error messages */ +extern char srcdir[]; /* root of the kernel source tree */ #define eq(a,b) (!strcmp(a,b)) #define ns(s) strdup(s) |