--- /dev/null
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <type>accessibility</type>
+
+ <fork/>
+
+ <standard_session_servicedirs/>
+
+ <auth>EXTERNAL</auth>
+
+ <listen>unix:tmpdir=/tmp</listen>
+
+ <policy context="default">
+ <!-- All users can connect to system bus -->
+ <allow user="*"/>
+ <!-- Allow everything to be sent -->
+ <allow send_destination="*" eavesdrop="true"/>
+ <!-- Allow everything to be received -->
+ <allow eavesdrop="true"/>
+ <!-- Allow anyone to own anything -->
+ <allow own="*"/>
+ </policy>
+
+ <limit name="max_incoming_bytes">1000000000</limit>
+ <limit name="max_outgoing_bytes">1000000000</limit>
+ <limit name="max_message_size">1000000000</limit>
+ <limit name="service_start_timeout">120000</limit>
+ <limit name="auth_timeout">240000</limit>
+ <limit name="max_completed_connections">100000</limit>
+ <limit name="max_incomplete_connections">10000</limit>
+ <limit name="max_connections_per_user">100000</limit>
+ <limit name="max_pending_service_starts">10000</limit>
+ <limit name="max_names_per_connection">50000</limit>
+ <limit name="max_match_rules_per_connection">50000</limit>
+ <limit name="max_replies_per_connection">50000</limit>
+ <limit name="reply_timeout">300000</limit>
+</busconfig>
+++ /dev/null
-<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
-
- <type>accessibility</type>
-
- <fork/>
-
- <standard_system_servicedirs/>
-
- <servicehelper>@DBUS_DAEMON_LAUNCH_HELPER@</servicehelper>
-
- <auth>EXTERNAL</auth>
-
- <listen>unix:tmpdir=/tmp</listen>
-
- <policy context="default">
- <!-- All users can connect to system bus -->
- <allow user="*"/>
- <!-- Allow everything to be sent -->
- <allow send_destination="*" eavesdrop="true"/>
- <!-- Allow everything to be received -->
- <allow eavesdrop="true"/>
- <!-- Allow anyone to own anything -->
- <allow own="*"/>
- </policy>
-
- <limit name="max_incoming_bytes">1000000000</limit>
- <limit name="max_outgoing_bytes">1000000000</limit>
- <limit name="max_message_size">1000000000</limit>
- <limit name="service_start_timeout">120000</limit>
- <limit name="auth_timeout">240000</limit>
- <limit name="max_completed_connections">100000</limit>
- <limit name="max_incomplete_connections">10000</limit>
- <limit name="max_connections_per_user">100000</limit>
- <limit name="max_pending_service_starts">10000</limit>
- <limit name="max_names_per_connection">50000</limit>
- <limit name="max_match_rules_per_connection">50000</limit>
- <limit name="max_replies_per_connection">50000</limit>
- <limit name="reply_timeout">300000</limit>
-</busconfig>
fi
AC_SUBST(DBUS_DAEMON)
-AC_ARG_WITH([dbus_daemon_launch_helperdir],
- [AS_HELP_STRING([--with-dbus-daemon-launch-helperdir=<directory>],
- [Directory where dbus-daemon-launch-helper is installed])],
- [DBUS_DAEMON_LAUNCH_HELPER="$with_dbus_daemon_launch_helperdir/dbus-daemon-launch-helper"]
- )
-dnl Can't use AC_PATH_PROG since it will fail if we don't have read access
-if test "x$DBUS_DAEMON_LAUNCH_HELPER" == "x"; then
- if test "-f /lib/dbus-1/dbus-daemon-launch-helper"; then
- DBUS_DAEMON_LAUNCH_HELPER=/lib/dbus-1/dbus-daemon-launch-helper
- elif test "-f /lib/dbus-1.0/dbus-daemon-launch-helper"; then
- DBUS_DAEMON_LAUNCH_HELPER=/lib/dbus-1.0/dbus-daemon-launch-helper
- elif test "-f $libexecdir/dbus-daemon-launch-helper"; then
- DBUS_DAEMON_LAUNCH_HELPER=$libexecdir/dbus-daemon-launch-helper
- else
- DBUS_DAEMON_LAUNCH_HELPER="$libexecdir/dbus-daemon-launch-helper"
- AC_MSG_WARN([at-spi2 relies on dbus, and dbus-daemon-launch-helper was not found])
- AC_MSG_WARN([we assume that it will be installed in "$libexecdir"])
- fi
-fi
-AC_SUBST(DBUS_DAEMON_LAUNCH_HELPER)
-
AC_ARG_WITH(dbus-services,
[AS_HELP_STRING([--with-dbus-services=<directory>],
[where D-BUS services directory is])])
AC_CONFIG_FILES([Makefile
xml/Makefile
registryd/Makefile
- bus/accessibility.conf
bus/Makefile])
AC_OUTPUT