Add --enable-relocate option
[platform/core/uifw/at-spi2-atk.git] / configure.ac
index f9df83a..81e2af0 100644 (file)
@@ -78,14 +78,11 @@ if test -z "$DEFAULT_ATSPI_INTROSPECTION_PATH"; then
          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
-          AM_CONDITIONAL(RELOCATE, false)
-else
-          AM_CONDITIONAL(RELOCATE, true)
+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]].*"'