Fix object lifecycle errors.
[platform/core/uifw/at-spi2-atk.git] / configure.ac
index e27f605..38f905c 100644 (file)
@@ -1,4 +1,4 @@
-AC_INIT([at-spi2-atk], [0.1.2], [accessibility-atspi@lists.linux-foundation.org])
+AC_INIT([at-spi2-atk], [0.1.4], [accessibility-atspi@lists.linux-foundation.org])
 AC_CONFIG_AUX_DIR(config)
 
 AT_SPI_ATK_MAJOR_VERSION=0
@@ -63,11 +63,18 @@ AC_SUBST(GTK_CFLAGS)
 
 AC_PATH_XTRA
 
+if test x$no_x = xyes ; then
+       AC_MSG_ERROR([X development libraries not found])
+else
+       X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+fi
+AC_SUBST(X_LIBS)
+
 AC_ARG_VAR([DEFAULT_ATSPI_INTROSPECTION_PATH],
           [Set the default path for the install ofDBus introspection XML
            relative to the pkgdatadir.])
 if test -z "$DEFAULT_ATSPI_INTROSPECTION_PATH"; then
-         DEFAULT_ATSPI_INTROSPECTION_PATH=dbus
+         DEFAULT_ATSPI_INTROSPECTION_PATH=at-spi2/dbus
 fi
 
 AC_ARG_ENABLE(relocate, [  --enable-relocate  Relocate to coexist with CORBA [default=no]], enable_relocate="$enableval", enable_relocate=no)
@@ -104,12 +111,12 @@ DBIND_CHECK_ALIGNOF(dbind_struct)
 CPPFLAGS=$orig_CPPFLAGS 
 
 AC_CONFIG_FILES([Makefile
-                droute/Makefile
-                dbind/Makefile
                 dbind/dbind-config.h
+                dbind/Makefile
+                droute/Makefile
                 common/Makefile
                 atk-adaptor/Makefile
-                tests/Makefile
+                atk-adaptor/adaptors/Makefile
                ])
 
 AC_OUTPUT