Added c-ares version string.

svn path=/trunk/; revision=25988
This commit is contained in:
Stig Bjørlykke 2008-08-12 10:34:46 +00:00
parent bfc12627c9
commit 6bea15f3cb
1 changed files with 6 additions and 1 deletions

View File

@ -67,6 +67,10 @@
#include <windows.h>
#endif
#ifdef HAVE_C_ARES
#include <ares_version.h>
#endif
#ifdef HAVE_LUA_5_1
#include <lua.h>
#endif
@ -219,7 +223,8 @@ get_epan_compiled_version_info(GString *str)
/* c-ares */
g_string_append(str, ", ");
#ifdef HAVE_C_ARES
g_string_append(str, "with c-ares");
g_string_append(str, "with c-ares ");
g_string_append(str, ARES_VERSION_STR);
#else
g_string_append(str, "without c-ares");
#endif /* HAVE_C_ARES */