X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=blobdiff_plain;f=configure.ac;h=9cfe9b91255fddb8710cdb4c4cb5f4986ccd8e73;hp=89ca4626c425c103e7044a62a5e0cb4da04f37dd;hb=ae83b37cf755efac97974f9acf066fac5f868407;hpb=1bd04d0eba893ad35019f151da08df85e13e7297 diff --git a/configure.ac b/configure.ac index 89ca462..9cfe9b9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([at-spi2-atk], [0.5.1], [accessibility-atspi@lists.linux-foundation.org]) +AC_INIT([at-spi2-atk], [2.3.1], [accessibility-atspi@lists.linux-foundation.org]) AC_CONFIG_AUX_DIR(config) AT_SPI_ATK_MAJOR_VERSION=0 @@ -20,7 +20,7 @@ AC_SUBST(LT_CURRENT) AC_SUBST(LT_REVISION) AC_SUBST(LT_AGE) -AM_INIT_AUTOMAKE([-Wall foreign]) +AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz]) dnl translation of any at-spi strings: used only for .server IT_PROG_INTLTOOL([0.40.0]) @@ -43,10 +43,6 @@ PKG_CHECK_MODULES(GLIB, [glib-2.0]) AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_CFLAGS) -PKG_CHECK_MODULES(DBUS_GLIB, [dbus-glib-1 >= 0.7.0]) -AC_SUBST(DBUS_GLIB_LIBS) -AC_SUBST(DBUS_GLIB_CFLAGS) - PKG_CHECK_MODULES(GOBJ, [gobject-2.0 >= 2.0.0]) AC_SUBST(GOBJ_LIBS) AC_SUBST(GOBJ_CFLAGS) @@ -55,13 +51,13 @@ PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.0.0]) AC_SUBST(GMODULE_LIBS) AC_SUBST(GMODULE_CFLAGS) -PKG_CHECK_MODULES(ATK, [atk >= 1.29.3]) +PKG_CHECK_MODULES(ATK, [atk >= 2.1.5]) AC_SUBST(ATK_LIBS) AC_SUBST(ATK_CFLAGS) -dnl GConf checks -AC_PATH_PROG(GCONFTOOL, gconftool-2) -AM_GCONF_SOURCE_2 +PKG_CHECK_MODULES(ATSPI, [atspi-2 >= 2.1.4]) +AC_SUBST(ATSPI_LIBS) +AC_SUBST(ATSPI_CFLAGS) AC_PATH_XTRA @@ -72,11 +68,9 @@ else fi AC_SUBST(X_LIBS) -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) +GLIB_GSETTINGS + +AC_ARG_ENABLE(p2p, [ --enable-p2p Allow peer-to-peer DBus connections [default=yes]], enable_p2p="$enableval", enable_p2p=yes) #libtool option to strip symbols starting with cspi LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^cspi]].*"' @@ -105,16 +99,26 @@ DBIND_CHECK_ALIGNOF(dbind_pointer) DBIND_CHECK_ALIGNOF(dbind_struct) CPPFLAGS=$orig_CPPFLAGS +if test "x$GCC" = xyes; then + CFLAGS="$CFLAGS -Werror-implicit-function-declaration" +fi + +if test "x$enable_p2p" = "xno"; then + P2P_CFLAGS=-DDISABLE_P2P +fi + +AC_SUBST(P2P_CFLAGS) + AC_CONFIG_FILES([Makefile dbind/dbind-config.h dbind/Makefile droute/Makefile - common/Makefile atk-adaptor/Makefile atk-adaptor/adaptors/Makefile atk-adaptor/gtk-2.0/Makefile atk-adaptor/gtk-3.0/Makefile po/Makefile.in + schemas/Makefile ]) AC_OUTPUT