diff options
author | Gerald Combs <gerald@wireshark.org> | 2006-03-01 21:31:07 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2006-03-01 21:31:07 +0000 |
commit | 050525cfb532ad640dc8bc2b9cbd6815bb7b7e60 (patch) | |
tree | cfb49e2e8705730b9a1b04065d134865f62543d1 /version_info.c | |
parent | 873321aa302a028792dd8a396143624269d1c445 (diff) |
Add Lua support by default for Win32. Fix some compilation problems.
Add Lua information to the version paragraph.
svn path=/trunk/; revision=17440
Diffstat (limited to 'version_info.c')
-rw-r--r-- | version_info.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/version_info.c b/version_info.c index e6a15d939d..b9cfde4552 100644 --- a/version_info.c +++ b/version_info.c @@ -65,6 +65,9 @@ #include <windows.h> #endif +#ifdef HAVE_LUA +#include <lua.h> +#endif #ifdef SVNVERSION const char *svnversion = " (" SVNVERSION ")"; @@ -193,6 +196,16 @@ get_compiled_version_info(GString *str) #else g_string_append(str, "without ADNS"); #endif /* HAVE_GNU_ADNS */ + g_string_append(str, ","); + + g_string_append(str, " "); + break_point = str->len - 1; +#ifdef HAVE_LUA + g_string_append(str, "with "); + g_string_append(str, LUA_VERSION); +#else + g_string_append(str, "without Lua"); +#endif /* HAVE_LUA */ g_string_append(str, "."); do_word_wrap(str, break_point); |