From aed373029748dbb713648cf6ccf19d96df765511 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Tue, 14 Oct 2014 01:12:28 +0200 Subject: [PATCH] report built-in PolarSSL version --- m4/pdns_with_system_polarssl.m4 | 1 + pdns/version.cc | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/m4/pdns_with_system_polarssl.m4 b/m4/pdns_with_system_polarssl.m4 index 846ac7c2f5..2f612516c9 100644 --- a/m4/pdns_with_system_polarssl.m4 +++ b/m4/pdns_with_system_polarssl.m4 @@ -35,6 +35,7 @@ AC_DEFUN([PDNS_WITH_SYSTEM_POLARSSL],[ POLARSSL_CFLAGS= POLARSSL_LIBS=-lpolarssl POLARSSL_SUBDIR= + AC_DEFINE([POLARSSL_SYSTEM], [1], [Defined if system PolarSSL is used]) ],[ AS_IF([test "x$with_system_polarssl" = "xyes"],[ AC_MSG_ERROR([use of system polarssl requested but not found])] diff --git a/pdns/version.cc b/pdns/version.cc index 67bcf0d0ad..167eb3be62 100644 --- a/pdns/version.cc +++ b/pdns/version.cc @@ -23,6 +23,7 @@ #include "logger.hh" #include "version.hh" #include "version_generated.h" +#include static ProductType productType; @@ -99,6 +100,9 @@ void showBuildConfiguration() // Auth only theL()<