From c417101ae55dd9941fb03ce6fce4955a6a2a2e8f Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 4 Feb 2001 13:17:38 +0000 Subject: Remove the need to list each and every cpu platform. Config will now take your word for the 'machine' switch. --- usr.sbin/config/main.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'usr.sbin/config/main.c') diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index 32be90d..acc5647 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -146,16 +146,7 @@ main(int argc, char **argv) dtab = NULL; if (yyparse()) exit(3); - switch (machine) { - - case MACHINE_I386: - case MACHINE_PC98: - case MACHINE_ALPHA: - case MACHINE_IA64: - case MACHINE_POWERPC: - break; - - default: + if (machinename == NULL) { printf("Specify machine type, e.g. ``machine i386''\n"); exit(1); } -- cgit v1.1