1 AC_INIT([libeflvala], [0.1.0.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)
27 DBUS_GLIB_REQUIRED=0.74
29 PKG_CHECK_MODULES(VALA,
30 vala-1.0 >= $VALA_REQUIRED)
32 PKG_CHECK_MODULES(DEPS,
33 dbus-1 >= $DBUS_REQUIRED
34 dbus-glib-1 >= $DBUS_GLIB_REQUIRED
35 eina-0 >= $EINA_REQUIRED
36 evas >= $EVAS_REQUIRED
37 ecore >= $ECORE_REQUIRED
38 edje >= $EDJE_REQUIRED
39 elementary >= $ELM_REQUIRED
40 glib-2.0 >= $GLIB_REQUIRED
41 gobject-2.0 >= $GLIB_REQUIRED)
45 PKG_CHECK_MODULES(THREAD,
46 gthread-2.0 >= $GLIB_REQUIRED)
47 AC_SUBST(THREAD_CFLAGS)
51 [ --with-edje-cc=PATH specify a specific path to edje_cc],
55 echo " Enlightenment edje_cc explicitly set to "$edje_cc;
57 edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
62 # shall we compile the library? [default=yes]
63 AC_ARG_ENABLE(library, [ --disable-library skip building the eflvala library [[default=no]]])
64 AM_CONDITIONAL(MAKE_LIBRARY, test x$enable_library != xno)
65 AC_MSG_CHECKING([whether to compile the eflvala library])
66 if test "$enable_library" != no; then
72 # shall we compile the examples? [default=yes]
73 AC_ARG_ENABLE(examples, [ --disable-examples skip building the examples [[default=no]]])
74 AM_CONDITIONAL(MAKE_EXAMPLES, test x$enable_examples != xno)
75 AC_MSG_CHECKING([whether to compile the example apps])
76 if test "$enable_examples" != no; then
92 examples/eina/Makefile
93 examples/ecore/Makefile
94 examples/ecore-signals/Makefile
95 examples/ecore-glib/Makefile
96 examples/edje/Makefile
97 examples/elementary/Makefile
98 examples/library/Makefile
99 examples/library/mainloops/Makefile
100 examples/library/viewstates/Makefile