diff --git a/common/version.c b/common/version.c index dc7f9b8e9..6295bf90c 100644 --- a/common/version.c +++ b/common/version.c @@ -22,6 +22,9 @@ #include #include +#include +#include + #include "config.h" #include "common/version.h" #include "awesome-version-internal.h" @@ -46,6 +49,14 @@ eprint_version(void) __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__); #endif printf(" (%s@%s)\n", AWESOME_COMPILE_BY, AWESOME_COMPILE_HOSTNAME); + + lua_State *L = lua_open(); + luaopen_base(L); + lua_getglobal(L, "_VERSION"); + printf(" • Compiled against " LUA_RELEASE + " (running with %s)\n", lua_tostring(L, -1)); + lua_close(L); + printf(" • D-Bus support: "); #ifdef WITH_DBUS printf("✔\n");