From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.devel Subject: Re: Some MacOSX build related questions Date: Wed, 19 Oct 2011 15:45:35 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1319039171 27212 80.91.229.12 (19 Oct 2011 15:46:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 15:46:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 19 17:46:06 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGYLD-0003Qw-V9 for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2011 17:46:04 +0200 Original-Received: from localhost ([::1]:40770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGYLD-0000vz-GA for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2011 11:46:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGYL5-0000vY-RT for emacs-devel@gnu.org; Wed, 19 Oct 2011 11:46:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGYKz-0001Go-IA for emacs-devel@gnu.org; Wed, 19 Oct 2011 11:45:55 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:54780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGYKz-0001Ga-Cq for emacs-devel@gnu.org; Wed, 19 Oct 2011 11:45:49 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RGYKw-0003Hd-8v for emacs-devel@gnu.org; Wed, 19 Oct 2011 17:45:46 +0200 Original-Received: from 214.sub-75-213-2.myvzw.com ([75.213.2.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Oct 2011 17:45:46 +0200 Original-Received: from Adrian.B.Robert by 214.sub-75-213-2.myvzw.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Oct 2011 17:45:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 75.213.2.214 (Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en; rv:1.9.0.19) Gecko/2011090819 Camino/2.0.8 (like Firefox/3.0.19)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145343 Archived-At: Hi Gao, > 1) In nextstep/README, it states MacOSX supported are 10.4 and up. > I suppose this is official. (It must be) Yes. > 2) Considering 1), some code that checks MAC_OS_X_VERSION > 1030 or < > 1040 or even < 1020 seems not necessary anymore. > > 3) For same reason, is MAC_OS_X_VERSION_MAX_ALLOWED >= > MAC_OS_X_VERSION_10_4 check necessary anymore? You are probably right here. The decision to terminate Panther support was made officially, but the code was never updated to clean out that support. In addition to the macros you point out, I believe there are some code blocks that can be removed. > 4) MAC_OS_X_VERSION_10_x (3, 4, 5, 6 at present) are defined in nsterm.h > and some other files. Is it necessary? Is it enough as nsgui.h does? (as below) I am not sure on this one. > 5) In nsimage.m, it has 'onTiger' check (defined in nsterm.h). If > official support version is 10.4 (Tiger) and up, this seems not > necessary anymore. Yes, see above. thanks, Adrian