From owner-freebsd-ports Wed Feb 5 00:34:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA17765 for ports-outgoing; Wed, 5 Feb 1997 00:34:23 -0800 (PST) Received: from relay.nuxi.com (nuxi.ucdavis.edu [128.120.37.176]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA17722; Wed, 5 Feb 1997 00:34:17 -0800 (PST) Received: from dragon.nuxi.com (reqa-024.ucdavis.edu [128.120.251.24]) by relay.nuxi.com (8.8.4/8.6.12) with ESMTP id AAA20376; Wed, 5 Feb 1997 00:34:31 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.8.4/8.7.3) id AAA02002; Wed, 5 Feb 1997 00:33:46 -0800 (PST) Message-ID: <19970205003343.YB13323@dragon.nuxi.com> Date: Wed, 5 Feb 1997 00:33:43 -0800 From: obrien@NUXI.com (David O'Brien) To: imp@village.org (Warner Losh) Cc: freebsd-ports@FreeBSD.ORG (FreeBSD ports list), hackers@FreeBSD.ORG Subject: Re: conditionally including References: <19970202135048.PN07710@dragon.nuxi.com> <199701280143.RAA06503@freefall.freebsd.org> X-Mailer: Mutt 0.59-PL19 Mime-Version: 1.0 Organization: The NUXI *BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 In-Reply-To: ; from Warner Losh on Feb 4, 1997 18:20:28 -0700 Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Warner Losh writes: > In message <19970202135048.PN07710@dragon.nuxi.com> David O'Brien writes: > : to get a new cpp symbol added (like __44bsd__ or something). > > This is a bad idea, since it has lost a lot of its potential meaning > with so many 44bsd derived systems that pick and chose between 4.4 and > 4.4 Lite 2. Then what would you suggest? Are they really more different than all the various sysVr4 that define __svr4__? How close is Solaris, UnixWare, and Irix? I'm just trying to find something that will cover all the 4.4BSD derived OS's. What are the big divergances from each other that __44bsd__ wouldn't cover (from an application standpoint)? Remember I'm trying to catch things like sys_errlist[], termios, /var/mail, /usr/sbin/sendmail, etc. Everyone will acknowlege that for kernel stuff __FreeBSD__, etc. should be used. But I still think __44bsd__ is fine where we would already do the #if (BSD > xyx) test or defined(__FreeBSD__) || defined(__NetBSD__) ,etc. -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org)