1 AC_INIT(idl/Accessibility.idl)
8 AT_SPI_VERSION="$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION.$AT_SPI_MICRO_VERSION"
9 AM_INIT_AUTOMAKE(at-spi, $AT_SPI_VERSION)
10 AC_SUBST(AT_SPI_MAJOR_VERSION)
11 AC_SUBST(AT_SPI_MINOR_VERSION)
12 AC_SUBST(AT_SPI_MICRO_VERSION)
13 AC_SUBST(AT_SPI_INTERFACE_AGE)
14 AC_SUBST(AT_SPI_BINARY_AGE)
17 LT_RELEASE=$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION
18 LT_CURRENT=`expr $AT_SPI_MICRO_VERSION - $AT_SPI_INTERFACE_AGE`
19 LT_REVISION=$AT_SPI_INTERFACE_AGE
20 LT_AGE=`expr $AT_SPI_BINARY_AGE - $AT_SPI_INTERFACE_AGE`
21 LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
22 AC_SUBST(LT_VERSION_INFO)
28 dnl Specify a header configuration file
29 AM_CONFIG_HEADER(config.h)
31 dnl Initialize maintainer mode
36 dnl Checks for programs
42 GNOME_PLATFORM_GNOME_2(yes, force)
43 GNOME_COMPILE_WARNINGS(maximum)
45 dnl Initialize libtool
49 dnl internationalization support
51 dnl AM_GLIB_GNU_GETTEXT
53 AC_CHECK_PROG(GTKDOC, gtkdoc-mkdb, true, false)
55 gtk_doc_min_version=0.6
57 gtk_doc_version=`gtkdoc-mkdb --version`
58 AC_MSG_CHECKING([gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version])
60 exit (("$gtk_doc_version" =~ /^[[0-9]]+\.[[0-9]]+$/) &&
61 ("$gtk_doc_version" >= "$gtk_doc_min_version") ? 0 : 1);
70 dnl Let people disable the gtk-doc stuff.
71 AC_ARG_ENABLE(gtk-doc, [ --enable-gtk-doc Use gtk-doc to build documentation [default=auto]], enable_gtk_doc="$enableval", enable_gtk_doc=auto)
73 if test x$enable_gtk_doc = xauto ; then
74 if test x$GTKDOC = xtrue ; then
81 dnl NOTE: We need to use a separate automake conditional for this
82 dnl to make this work with the tarballs.
83 AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
85 dnl Checks for libraries
86 PKG_CHECK_MODULES(LIBSPI, \
87 libbonobo-2.0 >= 1.107.0 \
92 AC_SUBST(LIBSPI_CFLAGS)
94 PKG_CHECK_MODULES(REGISTRYD, \
95 libbonobo-2.0 >= 1.107.0 \
98 AC_SUBST(REGISTRYD_LIBS)
99 AC_SUBST(REGISTRYD_CFLAGS)
101 PKG_CHECK_MODULES(TESTS, \
102 libbonobo-2.0 >= 1.107.0 \
107 AC_SUBST(TESTS_CFLAGS)
109 PKG_CHECK_MODULES(UTILS, \
110 libbonobo-2.0 >= 1.107.0 \
112 gdk-pixbuf-2.0 >= 1.3.0)
114 AC_SUBST(UTILS_CFLAGS)
116 PKG_CHECK_MODULES(ATK_BRIDGE, \
117 libbonobo-2.0 >= 1.107.0 \
119 AC_SUBST(ATK_BRIDGE_LIBS)
120 AC_SUBST(ATK_BRIDGE_CFLAGS)
122 PKG_CHECK_MODULES(LIBCSPI, \
123 libbonobo-2.0 >= 1.107.0 \
125 AC_SUBST(LIBCSPI_LIBS)
126 AC_SUBST(LIBCSPI_CFLAGS)
129 ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
132 dnl Bonobo and Bonobo-Activation idl files
133 BONOBO_ACTIVATION_IDL_DIR="`$PKG_CONFIG --variable=idldir bonobo-activation-2.0`"
134 LIBBONOBO_IDL_DIR="`$PKG_CONFIG --variable=idldir libbonobo-2.0`"
135 AC_SUBST(BONOBO_ACTIVATION_IDL_DIR)
136 AC_SUBST(LIBBONOBO_IDL_DIR)
139 AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, XTST_LIBS=-lXtst)
140 if test "x$XTST_LIBS" = x; then
142 for xtstpath in /usr/X11R6/lib /usr/openwin/lib; do
143 LIBS="-L$xtstpath -lXtst"
144 AC_MSG_CHECKING(for -lXtst in $xtstpath)
145 AC_TRY_LINK([], [XTestFakeKeyEvent()], [
147 XTST_LIBS="-L$xtstpath -lXtst"
149 break],[AC_MSG_RESULT(no)])
151 if test "x$XTST_LIBS" = x; then
152 AC_MSG_ERROR(Couldn't find the Xtst library. Check config.log for details)
161 AC_CHECK_LIB(popt, poptDupArgv,,
162 AC_MSG_ERROR([You must have popt 1.5 or greater to compile the utilities.]))
169 docs/reference/Makefile
170 docs/reference/idl/Makefile
171 docs/reference/cspi/Makefile
175 registryd/Accessibility_Registry.server
181 util/Accessibility_Util.server
186 Source code location: ${srcdir}
190 Welcome to the wonderful world of Accessibility.
191 http://developer.gnome.org/projects/gap/