From owner-cvs-all Tue Nov 23 2:36: 0 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D664F14A00; Tue, 23 Nov 1999 02:35:57 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: (from marcel@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA14891; Tue, 23 Nov 1999 02:35:25 -0800 (PST) (envelope-from marcel@FreeBSD.org) Message-Id: <199911231035.CAA14891@freefall.freebsd.org> From: Marcel Moolenaar Date: Tue, 23 Nov 1999 02:35:25 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make main.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk marcel 1999/11/23 02:35:25 PST Modified files: usr.bin/make main.c Log: Improve backward compatibility. make(1) uses sysctlbyname() to find out if it is running on a PC98 machine. This check has been added on 1998/9/9. The MIB variable was added on 1998/8/31. At that time __FreeBSD_version was 300003. So, only perform the check *if* __FreeBSD_version is defined and if it's greater than 300003. For the record: sysctlbyname was added on 1997/5/30 so this change automaticly handles that... Revision Changes Path 1.35 +6 -2 src/usr.bin/make/main.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message