From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: GTK patches part 1 Date: Mon, 9 Dec 2002 17:27:31 +0100 (MET) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200212091622.gB9GMw16022638@stubby.bodenonline.com> References: <87znrfuucc.fsf@wesley.springies.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1039452402 1718 80.91.224.249 (9 Dec 2002 16:46:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Dec 2002 16:46:42 +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 18LR3D-0000RA-00 for ; Mon, 09 Dec 2002 17:46:35 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18LRDN-00062t-01 for ; Mon, 09 Dec 2002 17:57:05 +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 18LQlq-0002bv-04 for emacs-devel@quimby.gnus.org; Mon, 09 Dec 2002 11:28:38 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18LQlX-0002bL-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 11:28:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18LQlU-0002at-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 11:28:18 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LQlS-0002aM-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 11:28:15 -0500 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) gB9GMw16022638; Mon, 9 Dec 2002 17:22:59 +0100 Original-To: ats@acm.org (Alan Shutko) In-Reply-To: <87znrfuucc.fsf@wesley.springies.com> from "Alan Shutko" at dec 09, 2002 09:42:43 X-Mailer: ELM [version 2.5 PL0pre8] 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:9998 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9998 > > Miles Bader writes: > > > --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? > > One important thing about --with-gtk is that it's really > --with-gtk=/path, which allows you to specify which gtk to use. > (--with-gtk is a degenerate case which says use gtk wherever you can > find it.) > > Maybe --with-gtk should continue to specify where to find gtk, and > --with-x-toolkit=gtk can turn on gtk? But it seems annoying to have > to specify --with-x-toolkit=gtk if you're already specifying a gtk > path. What I saw from gnome2 and the likes, the preferred thing seems to use --with-pkg-config-prog=/path/to/pkg_config and get the paths from that program. I've added --with-pkg-config-prog in configure.in. I think that --with-gtk=/path was the GTK 1.x way to specify paths. GTK 2.x requires pkg_config. pkg_config is a bit easier to handle, as it sets all the libraries, ldflags and cflags correct, as opposed to have configure look for required libraries. Jan D.