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])
5 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
12 AC_PATH_PROG(VALAC, valac, valac)
26 DBUS_GLIB_REQUIRED=0.74
28 PKG_CHECK_MODULES(VALA,
29 vala-1.0 >= $VALA_REQUIRED)
31 PKG_CHECK_MODULES(DEPS,
32 dbus-1 >= $DBUS_REQUIRED
33 dbus-glib-1 >= $DBUS_GLIB_REQUIRED
34 eina-0 >= $EINA_REQUIRED
35 evas >= $EVAS_REQUIRED
36 ecore >= $ECORE_REQUIRED
37 elementary >= $ELM_REQUIRED
38 glib-2.0 >= $GLIB_REQUIRED
39 gobject-2.0 >= $GLIB_REQUIRED)
43 PKG_CHECK_MODULES(THREAD,
44 gthread-2.0 >= $GLIB_REQUIRED)
45 AC_SUBST(THREAD_CFLAGS)
49 [ --with-edje-cc=PATH specify a specific path to edje_cc],
53 echo " Enlightenment edje_cc explicitly set to "$edje_cc;
55 edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
60 # shall we compile the library? [default=yes]
61 AC_ARG_ENABLE(library, [ --disable-library skip building the eflvala library [[default=no]]])
62 AM_CONDITIONAL(MAKE_LIBRARY, test x$enable_library != xno)
63 AC_MSG_CHECKING([whether to compile the eflvala library])
64 if test "$enable_library" != no; then
70 # shall we compile the examples? [default=yes]
71 AC_ARG_ENABLE(examples, [ --disable-examples skip building the examples [[default=no]]])
72 AM_CONDITIONAL(MAKE_EXAMPLES, test x$enable_examples != xno)
73 AC_MSG_CHECKING([whether to compile the example apps])
74 if test "$enable_examples" != no; then
90 examples/eina/Makefile
91 examples/ecore/Makefile
92 examples/ecore-signals/Makefile
93 examples/ecore-glib/Makefile
94 examples/edje/Makefile
95 examples/elementary/Makefile
96 examples/library/Makefile
97 examples/library/mainloops/Makefile
98 examples/library/viewstates/Makefile