From 06890aaf8eaa289d908c7ed9fc9b053a4092a39d Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Wed, 13 Feb 2008 13:24:41 +0000 Subject: [PATCH] print version. git-svn-id: file:///svn/unbound/trunk@950 be551aaa-1e26-0410-a405-d3ace91eadb9 --- daemon/unbound.c | 9 +++++++++ doc/Changelog | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/daemon/unbound.c b/daemon/unbound.c index 248cc0abf..d0829b8b9 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -55,6 +55,13 @@ #include #include + +#ifdef USE_MINI_EVENT +#include "util/mini_event.h" +#else +#include +#endif + /** global debug value to keep track of heap memory allocation */ void* unbound_start_brk = 0; @@ -69,6 +76,8 @@ static void usage() printf("-d do not fork into the background.\n"); printf("-v verbose (more times to increase verbosity)\n"); printf("Version %s\n", PACKAGE_VERSION); + printf("libevent %s, libldns %s\n", + event_get_version(), ldns_version()); printf("BSD licensed, see LICENSE in source package for details.\n"); printf("Report bugs to %s\n", PACKAGE_BUGREPORT); } diff --git a/doc/Changelog b/doc/Changelog index b713171dc..72c34f36e 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +13 February 2008: Wouter + - 0.9 released. + - 1.0 development. Printout ldns version on unbound -h. + 12 February 2008: Wouter - fixup problem with configure calling itself if ldns-src tarball is not present. -- 2.47.2