From: Magnus Henoch <mange@freemail.hu>
To: emacs-devel@gnu.org
Subject: Re: D-Bus integration into Emacs
Date: Mon, 03 Dec 2007 04:17:15 +0100 [thread overview]
Message-ID: <87d4to5ux0.fsf@freemail.hu> (raw)
In-Reply-To: 87prxp57la.fsf@gmx.de
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]
Michael Albinus <michael.albinus@gmx.de> 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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: configure.in.patch --]
[-- Type: text/x-patch, Size: 742 bytes --]
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.
[-- Attachment #3: Type: text/plain, Size: 8 bytes --]
Magnus
[-- Attachment #4: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2007-12-03 3:17 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-28 22:19 D-Bus integration into Emacs Michael Albinus
2007-12-02 17:28 ` Michael Albinus
2007-12-02 20:45 ` Eli Zaretskii
2007-12-02 21:47 ` Jason Rumney
2007-12-03 8:37 ` Michael Albinus
2007-12-02 22:40 ` Christian Faulhammer
2007-12-03 2:32 ` Nick Roberts
2007-12-03 7:04 ` Christian Faulhammer
2007-12-03 7:36 ` Nick Roberts
2007-12-03 8:48 ` Christian Faulhammer
2007-12-03 8:59 ` Nick Roberts
2007-12-03 22:04 ` Andreas Schwab
2007-12-04 6:48 ` Christian Faulhammer
2007-12-04 16:55 ` Richard Stallman
2007-12-04 18:18 ` Ulrich Mueller
2007-12-04 20:17 ` Michael Albinus
2007-12-04 20:48 ` Ulrich Mueller
2007-12-04 21:03 ` Michael Albinus
2007-12-04 21:56 ` Magnus Henoch
2007-12-05 6:05 ` Richard Stallman
2007-12-03 8:51 ` Michael Albinus
2007-12-03 18:42 ` Richard Stallman
2007-12-03 21:11 ` Michael Albinus
2007-12-03 3:17 ` Magnus Henoch [this message]
2007-12-03 7:12 ` Jan Djärv
2007-12-03 9:37 ` Andreas Schwab
2007-12-04 7:36 ` Jan Djärv
2007-12-04 10:25 ` Andreas Schwab
2007-12-04 11:30 ` Jan Djärv
2007-12-05 22:51 ` Andreas Schwab
2007-12-06 7:05 ` Jan Djärv
2007-12-06 8:02 ` Glenn Morris
2007-12-06 8:08 ` Thien-Thi Nguyen
2007-12-06 10:01 ` Jan Djärv
2007-12-05 2:56 ` Richard Stallman
2007-12-03 21:41 ` Michael Albinus
2007-12-03 22:05 ` Magnus Henoch
2007-12-04 7:35 ` Jan Djärv
2007-12-03 23:43 ` Johan Bockgård
2007-12-04 21:42 ` Michael Albinus
2007-12-05 10:37 ` Johan Bockgård
-- strict thread matches above, loose matches on Subject: below --
2007-12-05 8:37 Michael Albinus
2007-12-05 14:55 ` Magnus Henoch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d4to5ux0.fsf@freemail.hu \
--to=mange@freemail.hu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.