From 1423045898bdea94dee99c5865b3a6257fafdf34 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 4 Jan 2017 22:11:32 +0100 Subject: include crypto library in version output --- src/options.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index d564d39..db85771 100644 --- a/src/options.c +++ b/src/options.c @@ -485,11 +485,11 @@ void options_print_version() { printf("%s\n", VERSION_STRING); #if defined(__clang__) - printf("built using CLANG %s\n", __clang_version__); + 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\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__); + 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\n"); + printf("built using an unknown compiler with %s crypto library\n", CRYPTO_LIB_NAME, CRYPTO_LIB_NAME); #endif } -- cgit v1.2.3