lisch@mentor.com (Ray Lischner) (09/05/90)
After converting lots of .h files to .ph, I noticed that there are a lot of conditionals. Apollo, for example, defines lots of system-specific tidbits, so h2ph produces lots of lines like the following: if (defined &apollo) { ... } (Even worse is that _ISP__M68K and _ISP__A88K are both defined by Apollo's C compiler, but the value of one is "1" and the value of the other is "0", depending on the host CPU type.) This means I needed to implement &apollo in my usersubs so I could get the right definitions. Some of the standard headers check for other names, such as "defined &vax". I think it would be useful for Configure to produce a usersubs file to implement some of these standard names, such as "unix", "sun", "vax", "sparc", "apollo", etc. -- Ray Lischner UUCP: {uunet,apollo,decwrl}!mntgfx!lisch