diff options
Diffstat (limited to 'lib/version.c')
-rw-r--r-- | lib/version.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/version.c b/lib/version.c index 9b2bbcded..cfb4aa333 100644 --- a/lib/version.c +++ b/lib/version.c @@ -61,8 +61,18 @@ char *curl_version(void) ptr=strchr(ptr, '\0'); #endif +#if defined(KRB4) || defined(ENABLE_IPV6) + strcat(ptr, " ("); + ptr+=2; #ifdef KRB4 - sprintf(ptr, " (krb4 enabled)"); + sprintf(ptr, "krb4 "); + ptr += strlen(ptr); +#endif +#ifdef ENABLE_IPV6 + sprintf(ptr, "ipv6 "); + ptr += strlen(ptr); +#endif + sprintf(ptr, "enabled)"); ptr += strlen(ptr); #endif |