summaryrefslogtreecommitdiff
path: root/src/luaconf.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/luaconf.h.in')
-rw-r--r--src/luaconf.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/luaconf.h.in b/src/luaconf.h.in
index 027691d..7102028 100644
--- a/src/luaconf.h.in
+++ b/src/luaconf.h.in
@@ -64,12 +64,12 @@
** path of the directory of the executable file of the current process.
*/
#cmakedefine LUA_MODULE_SUFFIX "@LUA_MODULE_SUFFIX@"
-#cmakedefine LUA_ROOT "@LUA_ROOT@"
+#cmakedefine LUA_DIR "@LUA_DIR@"
#cmakedefine LUA_LDIR "@LUA_LDIR@"
#cmakedefine LUA_CDIR "@LUA_CDIR@"
-#define LUA_PATH_DEFAULT "./?.lua;" LUA_ROOT "/" LUA_LDIR "/?.lua;" LUA_ROOT "/" LUA_LDIR "/?/init.lua"
-#define LUA_CPATH_DEFAULT "./?" LUA_MODULE_SUFFIX ";" LUA_ROOT "/" LUA_CDIR "/?" LUA_MODULE_SUFFIX ";" LUA_ROOT "/" LUA_CDIR "/loadall" LUA_MODULE_SUFFIX
+#define LUA_PATH_DEFAULT "@LUA_PATH_DEFAULT@"
+#define LUA_CPATH_DEFAULT "@LUA_CPATH_DEFAULT@"
/*
@@ LUA_DIRSEP is the directory separator (for submodules).