print version.

git-svn-id: file:///svn/unbound/trunk@950 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2008-02-13 13:24:41 +00:00
parent 954a73f8c6
commit 06890aaf8e
2 changed files with 13 additions and 0 deletions

View file

@ -55,6 +55,13 @@
#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);
}

View 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.