Still freaking with gettext
[mokosuite2:mokojeweled.git] / configure.ac
1 AC_INIT([Mokojeweled], [0.1], [daniele.athome@gmail.com], [mokojeweled])
2 AC_CONFIG_SRCDIR(src)
3 AC_CONFIG_HEADERS(config.h)
4 AC_CONFIG_MACRO_DIR([m4])
5
6 AM_INIT_AUTOMAKE
7
8 AC_ISC_POSIX
9 AC_GNU_SOURCE
10 AC_DISABLE_STATIC
11 AC_PROG_CC
12 AC_PROG_LIBTOOL
13
14 AM_GNU_GETTEXT(external)
15 AM_GNU_GETTEXT_VERSION([0.12.1])
16
17 PKG_CHECK_MODULES(
18         ELEMENTARY, elementary, [], [AC_MSG_FAILURE([elementary not found])]
19 )
20
21 AC_ARG_ENABLE(debug,
22     AC_HELP_STRING([--enable-debug], [Enable debug build (default: disabled)]),
23     enable_debug=$enableval,
24     enable_debug=no)
25
26 if test "x$enable_debug" != "xno"; then
27     AC_DEFINE(DEBUG, 1, [Define to enable debug build])
28 fi
29
30
31 AC_SUBST(VERSION)
32
33 EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
34
35 AC_OUTPUT([
36 Makefile
37 data/Makefile
38 data/themes/Makefile
39 data/themes/gweled/Makefile
40 po/Makefile.in
41 src/Makefile
42 mokojeweled.spec
43 ])