bin/elua/main.c
bin_elua_elua_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ELUA_CFLAGS@ \
- -DLOCALE_DIR=\"@LOCALE_DIR@\" \
- -DPACKAGE_BIN_DIR=\"$(bindir)\" \
- -DPACKAGE_DATA_DIR=\"$(datadir)/elua\"
+ -DLOCALE_DIR=\"@LOCALE_DIR@\"
if HAVE_OSX
if HAVE_X86_64
static int elua_require_ref = LUA_REFNIL;
static int elua_appload_ref = LUA_REFNIL;
static const char *elua_progname = NULL;
-static Eina_Prefix *elua_prefix = NULL;
static Elua_State *elua_state = NULL;
static int _el_log_domain = -1;
elua_bin_shutdown(Elua_State *es, int c)
{
INF("elua shutdown");
- if (elua_prefix) eina_prefix_free(elua_prefix);
if (es) elua_state_free(es);
if (_el_log_domain != EINA_LOG_DOMAIN_GLOBAL)
eina_log_domain_unregister(_el_log_domain);
lua_gc(L, LUA_GCSTOP, 0);
- elua_prefix = eina_prefix_new(elua_progname, elua_main, "ELUA", "elua", "checkme",
- PACKAGE_BIN_DIR, "", PACKAGE_DATA_DIR,
- LOCALE_DIR);
-
- if (!elua_prefix)
- {
- ERR("could not find elua prefix");
- m->status = 1;
- return 0;
- }
-
elua_state_dirs_set(es, coredir, moddir, appsdir);
elua_state_dirs_fill(es, noenv);