X-Git-Url: https://git.syn-net.org/?p=debian%2Fuanytun.git;a=blobdiff_plain;f=src%2Foptions.c;h=8f75b8de61849325d4b893cc217b2b2b5613cdde;hp=df32b1b4aa303f6f081d7edf476cc5f10feb4b5a;hb=70cf739729db4c5d7f72b64207855889e57ee49a;hpb=71f6f666a3d69c6e1e7a77e238362c5bbe288e66 diff --git a/src/options.c b/src/options.c index df32b1b..8f75b8d 100644 --- a/src/options.c +++ b/src/options.c @@ -480,8 +480,14 @@ void options_print_usage() void options_print_version() { - printf("%s\n", VERSION_STRING_0); - printf("%s\n", VERSION_STRING_1); + printf("%s\n", VERSION_STRING); +#if defined(__clang__) + printf("built using CLANG %s with %s crypto library.\n", __clang_version__, CRYPTO_LIB_NAME); +#elif defined(__GNUC__) + printf("built using GCC %d.%d.%d with %s crypto library\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__, CRYPTO_LIB_NAME); +#else + printf("built using an unknown compiler with %s crypto library\n", CRYPTO_LIB_NAME, CRYPTO_LIB_NAME); +#endif } void options_print(options_t* opt)