-
-AC_INIT([at-spi2-atk], [0.1.0], [accessibility-atspi@lists.linux-foundation.org])
+AC_INIT([at-spi2-atk], [0.1.2], [accessibility-atspi@lists.linux-foundation.org])
AC_CONFIG_AUX_DIR(config)
AT_SPI_ATK_MAJOR_VERSION=0
DEFAULT_ATSPI_INTROSPECTION_PATH=dbus
fi
-AC_ARG_VAR([GTK_MODULE_DIR],
- [Where to place the atk-adaptor gtk module])
-if test -z "$GTK_MODULE_DIR"; then
- GTK_MODULE_DIR=gtk-2.0/modules
+AC_ARG_ENABLE(relocate, [ --enable-relocate Relocate to coexist with CORBA [default=no]], enable_relocate="$enableval", enable_relocate=no)
+if test x$enable_relocate = xyes ; then
+ AC_DEFINE(RELOCATE, , [Relocate to coexist with CORBA])
fi
+AM_CONDITIONAL(RELOCATE, test x$enable_relocate = xyes)
#libtool option to strip symbols starting with cspi
LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^cspi]].*"'
AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
+# Extra libraries for sockets added by Willie Walker
+# based upon how SunStudio libraries work.
+#
+if test "$GCC" = yes; then
+ EXTRA_SOCKET_LIBS=""
+else
+ EXTRA_SOCKET_LIBS="-lsocket -lnsl"
+fi
+AC_SUBST(EXTRA_SOCKET_LIBS)
+
AC_CONFIG_FILES([Makefile
- pkgconfig/cspi-1.0.pc
- pkgconfig/cspi-1.0-uninstalled.pc
- tests/Makefile
common/Makefile
atk-adaptor/Makefile
- cspi/Makefile
+ tests/Makefile
])
AC_OUTPUT