From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Magnus Henoch Newsgroups: gmane.emacs.devel Subject: Re: D-Bus integration into Emacs Date: Mon, 03 Dec 2007 04:17:15 +0100 Message-ID: <87d4to5ux0.fsf@freemail.hu> References: <874pf6ypv8.fsf@gmx.de> <87prxp57la.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1196651865 32224 80.91.229.12 (3 Dec 2007 03:17:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2007 03:17:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 03 04:17:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iz1og-0001ZB-Hw for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 04:17:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iz1oQ-0000jK-0R for ged-emacs-devel@m.gmane.org; Sun, 02 Dec 2007 22:17:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iz1oK-0000cx-Pz for emacs-devel@gnu.org; Sun, 02 Dec 2007 22:17:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iz1oK-0000bj-3c for emacs-devel@gnu.org; Sun, 02 Dec 2007 22:17:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iz1oJ-0000bZ-QR for emacs-devel@gnu.org; Sun, 02 Dec 2007 22:17:31 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iz1oJ-0008J8-F7 for emacs-devel@gnu.org; Sun, 02 Dec 2007 22:17:31 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Iz1oB-0003eF-MN for emacs-devel@gnu.org; Mon, 03 Dec 2007 03:17:23 +0000 Original-Received: from etthundrat.olf.sgsnet.se ([193.11.222.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2007 03:17:23 +0000 Original-Received: from mange by etthundrat.olf.sgsnet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2007 03:17:23 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 46 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: etthundrat.olf.sgsnet.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (berkeley-unix) Cancel-Lock: sha1:y8xQpgXZhdpHSIeDGHKf/rLck3E= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:84528 Archived-At: --=-=-= Michael Albinus writes: > I've committed the files to the trunk. In order to activate D-Bus > integration, one must apply "./configure --with-dbus". It's tested under > GNU/Linux only, but there seem to exist D-Bus implementations for Mac OS > X and Win32 as well. It doesn't compiler under NetBSD, as D-Bus is installed under /usr/pkg instead of /usr. How about this patch? It makes configure use pkg-config to find the proper compiler and linker flags. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=configure.in.patch diff --git a/configure.in b/configure.in index c372f5c..b791842 100644 --- a/configure.in +++ b/configure.in @@ -2264,13 +2264,9 @@ dnl other platforms. Support for higher D-Bus versions but 1.0 is dnl also not configured. HAVE_DBUS=no if test "${with_dbus}" = "yes"; then - AC_CHECK_LIB(dbus-1, dbus_bus_get, HAVE_DBUS=yes) + PKG_CHECK_MODULES(DBUS, dbus-1, HAVE_DBUS=yes, HAVE_DBUS=no) if test "$HAVE_DBUS" = yes; then AC_DEFINE(HAVE_DBUS, 1, [Define to 1 if using D-Bus.]) - DBUS_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include" - AC_SUBST(DBUS_CFLAGS) - DBUS_LIBS="-ldbus-1" - AC_SUBST(DBUS_LIBS) DBUS_INFO="dbus" fi fi Diffs between working revision and workfile end here. --=-=-= Magnus --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--