ecore.vapi: add enough canvas to show a window
[libeflvala.git] / configure.ac
blobbdde8dad79cef1fbb85faf8031c65b98a25230e0
1 AC_INIT([libeflvala], [0.0.2.0], [mlauer@vanille-media.de], [libeflvala])
2 AC_CONFIG_SRCDIR([Makefile.am])
3 AC_CONFIG_HEADERS(config.h)
4 AM_INIT_AUTOMAKE([dist-bzip2])
6 AC_PROG_CC
7 AM_PROG_CC_C_O
8 AC_DISABLE_STATIC
9 AC_PROG_LIBTOOL
11 AC_PATH_PROG(VALAC, valac, valac)
12 AC_SUBST(VALAC)
14 AC_SUBST(CFLAGS)
15 AC_SUBST(CPPFLAGS)
16 AC_SUBST(LDFLAGS)
18 VALA_REQUIRED=0.7.1
19 EINA_REQUIRED=0.0.0
20 EVAS_REQUIRED=0.0.0
21 ECORE_REQUIRED=0.0.0
22 ELM_REQUIRED=0.0.0
23 GLIB_REQUIRED=2.18.0
24 DBUS_REQUIRED=1.1.1
25 DBUS_GLIB_REQUIRED=0.74
27 PKG_CHECK_MODULES(VALA,
28   vala-1.0 >= $VALA_REQUIRED)
30 PKG_CHECK_MODULES(DEPS,
31   dbus-1 >= $DBUS_REQUIRED
32   dbus-glib-1 >= $DBUS_GLIB_REQUIRED
33   eina-0 >= $EINA_REQUIRED
34   evas >= $EVAS_REQUIRED
35   ecore >= $ECORE_REQUIRED
36   elementary >= $ELM_REQUIRED
37   glib-2.0 >= $GLIB_REQUIRED
38   gobject-2.0 >= $GLIB_REQUIRED)
39 AC_SUBST(DEPS_CFLAGS)
40 AC_SUBST(DEPS_LIBS)
42 PKG_CHECK_MODULES(THREAD,
43   gthread-2.0 >= $GLIB_REQUIRED)
44 AC_SUBST(THREAD_CFLAGS)
45 AC_SUBST(THREAD_LIBS)
47 AC_ARG_WITH(edje-cc,
48 [  --with-edje-cc=PATH  specify a specific path to edje_cc],
50   v=$withval;
51   edje_cc=$v
52   echo "  Enlightenment edje_cc explicitly set to "$edje_cc;
53 ],[
54   edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
56 AC_SUBST(edje_cc)
59 # shall we compile the library? [default=yes]
60 AC_ARG_ENABLE(library,      [  --disable-library        skip building the eflvala library [[default=no]]])
61 AM_CONDITIONAL(MAKE_LIBRARY, test x$enable_library != xno)
62 AC_MSG_CHECKING([whether to compile the eflvala library])
63 if test "$enable_library" != no; then
64   AC_MSG_RESULT(yes)
65 else
66   AC_MSG_RESULT(no)
69 # shall we compile the examples? [default=yes]
70 AC_ARG_ENABLE(examples,      [  --disable-examples      skip building the examples [[default=no]]])
71 AM_CONDITIONAL(MAKE_EXAMPLES, test x$enable_examples != xno)
72 AC_MSG_CHECKING([whether to compile the example apps])
73 if test "$enable_examples" != no; then
74   AC_MSG_RESULT(yes)
75 else
76   AC_MSG_RESULT(no)
80 AC_CONFIG_FILES([
81   Makefile
82   data/Makefile
83   data/images/Makefile
84   data/objects/Makefile
85   eflvala/Makefile
86   vapi/Makefile
87   tests/Makefile
88   examples/Makefile
89   examples/eina/Makefile
90   examples/ecore/Makefile
91   examples/edje/Makefile
92   examples/elementary/Makefile
93   examples/library/Makefile
94   examples/library/mainloops/Makefile
95   examples/library/viewstates/Makefile
96   eflvala-1.0.pc])
98 AC_OUTPUT