summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2017-01-04 22:11:32 +0100
committerChristian Pointner <equinox@anytun.org>2017-01-04 22:11:32 +0100
commit1423045898bdea94dee99c5865b3a6257fafdf34 (patch)
tree7286c67bc9153063bf93a6f789c051a72ceb9e01 /src/options.c
parentimprove build reproducibility (diff)
include crypto library in version output
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c6
1 files changed, 3 insertions, 3 deletions
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
}