Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.soft-sys.andrew Subject: How does "sunV3" get set when "imake"ing Makefiles? Message-ID: <4384@auspex.auspex.com> Date: 15 Nov 90 01:25:38 GMT Organization: Auspex Systems, Santa Clara Lines: 29 In the "config/imake.tmpl" file, it figures out whether to use the SunOS 3.5 "system.mcr" or the SunOS 4.0 "system.mcr" by doing: #if defined(mc68020) || defined(sun3) /* sun3 */ #ifndef sunV3 #define sunV3 0 #endif /* sunV3 */ #if sunV3 #include #define MacroIncludeFile sun3_35/system.mcr #else /* sunV3 */ #include #define MacroIncludeFile sun3_4/system.mcr #endif /* sunV3 */ #endif /* sun3 */ I didn't see anything in the README file that specifies any mechanism for setting "sunV3", nor did I see any definitions of it, other than the one listed above, in any of the files in the "config" directory. Is it set automatically somehow (although I couldn't see anything in the X11R4 "imake" that did it, nor in any of the MIT configuration files), or is there something you're supposed to do to build Andrew under SunOS 3.5? (I'm not asking because I want to build it under 3.5; we don't have any machines running anything before 4.0. I'm adding new stuff for building it under SunOS 4.1, so that it can use the SunOS 4.1 dynamic loader to load up ".do" files and also perhaps so that it can do the right thing to deal with 4.1's POSIX-compliant tty driver, and may have to resort to doing the same thing for 4.1 that's done for 3.5.)