1 dnl Process this file with the command: autoreconf -f -i
3 m4_define([EFL_A11Y_VERSION], [1.0.0])
5 AC_INIT([efl-a11y], [EFL_A11Y_VERSION])
8 AC_CONFIG_SRCDIR([configure.ac])
11 AC_CONFIG_HEADERS([config.h])
13 AM_INIT_AUTOMAKE([1.6 dist-bzip2])
14 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
22 define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
23 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
26 LT_RELEASE_VERSION=EFL_A11Y_VERSION
27 AC_SUBST([LT_RELEASE_VERSION])
29 LT_ENABLE_AUTO_IMPORT=""
32 LT_ENABLE_AUTO_IMPORT="-Wl,--enable-auto-import"
34 AC_SUBST([LT_ENABLE_AUTO_IMPORT])
36 REQUIREMENT_EAIL="elementary >= 1.7.0 elementary < 1.8 ecore-evas >= 1.7.0 ecore-evas < 1.8 ecore-file >= 1.7.0 ecore-file < 1.8 ecore >= 1.7.0 ecore < 1.8 evas >= 1.7.0 evas < 1.8 eina >= 1.7.0 eina < 1.8 atk >= 2.2.0 gobject-2.0 >= 2.30.0 gmodule-2.0 >= 2.30.0 gio-2.0"
37 AC_SUBST([REQUIREMENT_EAIL])
39 PKG_CHECK_MODULES([EAIL], [
55 atk-bridge-2.0 >= 2.2.0
58 PKG_CHECK_MODULES([TEST_DEPS], [
63 AC_ARG_ENABLE(strict-cc,
64 AS_HELP_STRING([--enable-strict-cc],[enable strict C compiler]),,
66 if test "x$enable_strict_cc" = "xyes"; then
67 CFLAGS="$CFLAGS -Wall -Werror"
69 CFLAGS="$CFLAGS -Wall"
74 AS_HELP_STRING([--enable-doc],
75 [Enable documentation [default=YES]]),,
77 AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"])
80 AC_ARG_ENABLE([tests],
81 AS_HELP_STRING([--enable-tests],[build tests]),,
83 AM_CONDITIONAL([MAKE_TESTS], [test "x$enable_tests" = "xyes"])
85 dnl Generate coverage report
86 AC_ARG_ENABLE([coverage],
87 AS_HELP_STRING([--enable-coverage],
88 [Generate converage reports]),
91 AM_CONDITIONAL([ENABLE_COVERAGE],[test "x$enable_coverage" != "xno"])
92 AS_IF([test "x$enable_coverage" != "xno"],
94 AC_PATH_PROG([LCOV], [lcov])
95 AC_PATH_PROG([GENHTML], [genhtml])
96 AC_SUBST([COVERAGE_LIBS],["-lgcov"])
97 AC_SUBST([COVERAGE_CFLAGS],["-fprofile-arcs -ftest-coverage"])
100 dnl set elementatary modules dir
101 AC_ARG_WITH(elementary-modules,
102 [AS_HELP_STRING([--with-elementary-modules=<directory>],
103 [where elementary module directory is])])
104 AM_CONDITIONAL(ENABLE_ELM_MODULE, false )
105 if ! test -z "$with_elementary_modules" ; then
106 ELEMENTARY_MODULE_DIR="$with_elementary_modules"
107 AC_SUBST(ELEMENTARY_MODULE_DIR)
108 AM_CONDITIONAL(ENABLE_ELM_MODULE, true )
111 AC_ARG_ENABLE([explorer], AC_HELP_STRING([--enable-explorer], [Build Eail visual debugging tool]))
112 AM_CONDITIONAL([ENABLE_EXPLORER], false)
113 AS_IF([test "x$enable_explorer" = "xyes"],
115 # Checks for programs.
116 AC_SUBST(EDJE_CC, "no")
117 AC_PATH_PROG(EDJE_CC, edje_cc)
119 if test x"$EDJE_CC" == x"no" ; then
120 AC_MSG_ERROR([No 'edje_cc' program found in PATH.])
123 # Checks for libraries.
124 # Checks for header files.
125 PKG_CHECK_MODULES([EAILEXPLORER], [
129 AM_CONDITIONAL([ENABLE_EXPLORER], true)
140 explorer/src/Makefile
141 explorer/src/bin/Makefile
142 explorer/data/Makefile