]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
print version.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 13 Feb 2008 13:24:41 +0000 (13:24 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 13 Feb 2008 13:24:41 +0000 (13:24 +0000)
git-svn-id: file:///svn/unbound/trunk@950 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c
doc/Changelog

index 248cc0abfb6e5cdad8e85ea7e81ee36a28086268..d0829b8b922a34ed851497494161c8a799046129 100644 (file)
 #include <pwd.h>
 #include <sys/resource.h>
 
+
+#ifdef USE_MINI_EVENT
+#include "util/mini_event.h"
+#else
+#include <event.h>
+#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);
 }
index b713171dc326e41170e1d3ef016692fad21bbf73..72c34f36ef81a8da9fb433ab12c7b8dcc1604a3f 100644 (file)
@@ -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.