BSD 4_2 release
[unix-history] / usr / src / etc / config / main.c
index 5f2f362..42d13c3 100644 (file)
@@ -1,4 +1,6 @@
-/*     main.c  1.8     82/12/09        */
+#ifndef lint
+static char sccsid[] = "@(#)main.c     1.10 (Berkeley) 8/11/83";
+#endif
 
 #include <stdio.h>
 #include <ctype.h>
 
 #include <stdio.h>
 #include <ctype.h>
@@ -28,6 +30,7 @@ main(argc, argv)
                exit(2);
        }
        dtab = NULL;
                exit(2);
        }
        dtab = NULL;
+       confp = &conf_list;
        if (yyparse())
                exit(3);
        switch (machine) {
        if (yyparse())
                exit(3);
        switch (machine) {
@@ -47,6 +50,7 @@ main(argc, argv)
        }
        makefile();                     /* build Makefile */
        headers();                      /* make a lot of .h files */
        }
        makefile();                     /* build Makefile */
        headers();                      /* make a lot of .h files */
+       swapconf();                     /* swap config files */
        printf("Don't forget to run \"make depend\"\n");
 }
 
        printf("Don't forget to run \"make depend\"\n");
 }