From owner-freebsd-hackers Sun Feb 4 06:45:17 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA05761 for hackers-outgoing; Sun, 4 Feb 1996 06:45:17 -0800 (PST) Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA05742 for ; Sun, 4 Feb 1996 06:44:50 -0800 (PST) Received: from newzetor.clinet.fi (root@newzetor.clinet.fi [194.100.0.11]) by hauki.clinet.fi (8.7.3/8.6.4) with ESMTP id QAA19099; Sun, 4 Feb 1996 16:44:16 +0200 (EET) Received: (hsu@localhost) by newzetor.clinet.fi (8.7.3/8.6.4) id QAA22995; Sun, 4 Feb 1996 16:44:16 +0200 (EET) Date: Sun, 4 Feb 1996 16:44:16 +0200 (EET) Message-Id: <199602041444.QAA22995@newzetor.clinet.fi> From: Heikki Suonsivu To: Warner Losh Cc: freebsd-hackers@freebsd.org In-reply-to: Warner Losh's message of 2 Feb 1996 20:38:22 +0200 Subject: Re: Another Pentium gcc patch, -D__FreeBSD__=2 -Dbsd4_4 Organization: Clinet Ltd, Espoo, Finland References: <199602021439.HAA24937@rover.village.org> Sender: owner-hackers@freebsd.org Precedence: bulk In article <199602021439.HAA24937@rover.village.org> Warner Losh writes: If you want bsd4_4, then you can just as easily include: #ifdef HAVE_SYS_PARAMS #include #endif #ifdef BSD4_4 #define bsd4_4 #endif since params.h is the *STANDARD* bsd way of figuring out if you are ^^^ running on a BSD system. ^^^ This is a chicken-before-egg problem. To utilize this, you first need a *STANDARD* way of determining if you are running on a BSD system. To date, I have never needed __FreeBSD__ as a define. The BSD Because you only use BSD systems. Even though it might become as a surprise to you, there are other widely-used Unix-originating operating systems which are not BSD, and they do not have "BSD" or anything like that in param.h. Don't tell me use configure, its medicating cancer with painkillers. Apparenltly configure won't go away, but at least we should do everything possible to make its work as simple as possible. All this is completely broken, BSD systems should converge, not further split up, as splitting up means disappearing into noise generated by Linux and big commercial ones. -- Heikki Suonsivu, T{ysikuu 10 C 83/02210 Espoo/FINLAND, hsu@clinet.fi work +358-0-4375209 fax -4555276 home -8031121