From 5f292c611fc60bf3115dcf3d1213fdedc36fc65c Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Mon, 18 Sep 2006 17:17:41 +0000 Subject: * tools/Makefile.am: use @EXPANDED_DATADIR@ instead of @DATADIRNAME@ --- ChangeLog | 4 ++++ configure.in | 3 +++ dbus/dbus-sysdeps-util-unix.c | 4 ++++ tools/Makefile.am | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3b2ece0b..49a32704 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-09-18 John (J5) Palmieri + + * tools/Makefile.am: use @EXPANDED_DATADIR@ instead of @DATADIRNAME@ + 2006-09-17 Havoc Pennington * dbus/dbus-transport.c (_dbus_transport_get_is_authenticated): diff --git a/configure.in b/configure.in index b4e965fe..e87fdef0 100644 --- a/configure.in +++ b/configure.in @@ -551,6 +551,9 @@ dnl check for writev header and writev function so we're dnl good to go if HAVE_WRITEV gets defined. AC_CHECK_HEADERS(sys/uio.h, [AC_CHECK_FUNCS(writev)]) +dnl needed on darwin for NAME_MAX +AC_CHECK_HEADERS(sys/syslimits.h) + dnl check for flavours of varargs macros (test from GLib) AC_MSG_CHECKING(for ISO C99 varargs macros in C) AC_TRY_COMPILE([],[ diff --git a/dbus/dbus-sysdeps-util-unix.c b/dbus/dbus-sysdeps-util-unix.c index aa2f4ad2..ba00f462 100644 --- a/dbus/dbus-sysdeps-util-unix.c +++ b/dbus/dbus-sysdeps-util-unix.c @@ -44,6 +44,10 @@ #include #include +#ifdef HAVE_SYS_SYSLIMITS_H +#include +#endif + #ifndef O_BINARY #define O_BINARY 0 #endif diff --git a/tools/Makefile.am b/tools/Makefile.am index 06d85b47..eb19ddb7 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,4 +1,4 @@ -INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_X_CFLAGS) -DDBUS_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" -DDBUS_COMPILATION -DDBUS_DAEMONDIR=\"@DBUS_DAEMONDIR@\" +INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_X_CFLAGS) -DDBUS_LOCALEDIR=\"@EXPANDED_DATADIR@/locale\" -DDBUS_COMPILATION -DDBUS_DAEMONDIR=\"@DBUS_DAEMONDIR@\" bin_PROGRAMS=dbus-send dbus-monitor dbus-launch dbus-cleanup-sockets -- cgit