prefix="@prefix@"
sysconfdir="@sysconfdir@"
dbusdaemon="@DBUS_DAEMON@"
+relocate=@enable_relocate@
+
+if [ "$relocate" == "yes" ]; then
+ var=`gconftool-2 --get /desktop/gnome/interface/at-spi-dbus`
+ if [ "$var" == "false" ]; then
+ exit 0
+ fi
+else
+ var=`gconftool-2 --get /desktop/gnome/interface/at-spi-corba`
+ if [ "$var" == "true" ]; then
+ exit 0
+ fi
+fi
address=`${dbusdaemon} --config-file=${sysconfdir}/at-spi2/accessibility.conf --print-address`
xprop -root -f AT_SPI_BUS 8s -set AT_SPI_BUS ${address}
AC_DEFINE(RELOCATE, , [Relocate to coexist with CORBA])
fi
AM_CONDITIONAL(RELOCATE, test x$enable_relocate = xyes)
+AC_SUBST(enable_relocate)
AC_CONFIG_FILES([Makefile
xml/Makefile
registryd/Makefile
+ bus/at-spi-dbus-bus
bus/Makefile])
AC_OUTPUT