From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: GTK patches part 1 Date: Mon, 9 Dec 2002 08:20:57 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20021209132057.GA21533@gnu.org> References: <200212091239.gB9Cd416017595@stubby.bodenonline.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039441719 20161 80.91.224.249 (9 Dec 2002 13:48:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Dec 2002 13:48:39 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18LOGz-0005F2-00 for ; Mon, 09 Dec 2002 14:48:37 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18LOR5-0004ST-00 for ; Mon, 09 Dec 2002 14:59:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LO4y-00053g-08 for emacs-devel@quimby.gnus.org; Mon, 09 Dec 2002 08:36:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18LO4Z-00052P-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 08:35:47 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18LO4S-0004zK-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 08:35:43 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LO4R-0004yA-02 for emacs-devel@gnu.org; Mon, 09 Dec 2002 08:35:39 -0500 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.10) id 18LNqD-0005jw-00; Mon, 09 Dec 2002 08:20:57 -0500 Original-To: "Jan D." Content-Disposition: inline In-Reply-To: <200212091239.gB9Cd416017595@stubby.bodenonline.com> User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:9991 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9991 On Mon, Dec 09, 2002 at 01:44:03PM +0100, Jan D. wrote: > I don't understand why HAVE_GTK needs to be in config.in. Can you > explain? Because autoconf will never insert a define itself (into config.h), it needs a template to modify, which in the case of emacs is src/config.in. Surely you needed to do this yourself, to compile anything! > Spoiled by GCC 3 and years of C++. I'll switch to GCC 2.95 for Emacs. I assume that gcc 3.x has an option to only accept older versions of C. > > (4) It looks like the user has to give the `--with-gtk' option to > > configure to enable GTK. I think using `--with-x-toolkit=gtk' > > would be more correct, at least from a user's perspective. > > I just selected what other GTK programs seems to use. In theory GTK > can run on other platforms than X (not this port though), But I can switch > (or have both?) if thats desired. Well, if it's some sort of standard, then I suppose you could support both. --with-x-toolkit is better though, because it makes explicit the fact that GTK and the other supported toolkits are mutually exclusive. Perhaps the programs you're thinking of can only use one GUI toolkit, which is enabled using --with-gtk? -Miles -- `...the Soviet Union was sliding in to an economic collapse so comprehensive that in the end its factories produced not goods but bads: finished products less valuable than the raw materials they were made from.' [The Economist]