dnl intro
AC_INIT(pdns/receiver.cc)
-AM_INIT_AUTOMAKE(pdns, 2.9.17)
+AM_INIT_AUTOMAKE(pdns, 2.9.18-cvs)
AC_CANONICAL_HOST
AM_CONFIG_HEADER(config.h)
AC_C_BIGENDIAN
d_num_threads=n;
- L<<Logger::Warning<<"About to create "<<n<<" backend threads"<<endl;
+ L<<Logger::Warning<<"About to create "<<n<<" backend threads for UDP"<<endl;
for(int i=0;i<n;i++) {
pthread_create(&tid,0,&makeThread,static_cast<void *>(this));
// never get here, guardian will reinvoke process
cerr<<"Um, we did get here!"<<endl;
}
+
+ if(arg().mustDo("version")) {
+ cerr<<"Version: "VERSION", compiled on "<<__DATE__", "__TIME__;
+#ifdef __GNUC__
+ cerr<<" with gcc version "<<__VERSION__;
+#endif
+ cout<<endl;
+ exit(99);
+ }
// we really need to do work - either standalone or as an instance
exit(99);
}
- if(arg().mustDo("version")) {
- cerr<<"Version: "VERSION", compiled on "<<__DATE__", "__TIME__;
-#ifdef __GNUC__
- cerr<<" with gcc version "<<__GNUC__<<"."<<__GNUC_MINOR__<<"."<<__GNUC_PATCHLEVEL__;
-#endif
- cout<<endl;
- exit(99);
- }
if(arg().mustDo("help")) {
declareStats();
DLOG(L<<Logger::Warning<<"Verbose logging in effect"<<endl);
- L<<Logger::Warning<<"PowerDNS "<<VERSION<<" (C) 2001-2005 PowerDNS.COM BV ("<<__DATE__", "__TIME__<<") starting up"<<endl;
+ L<<Logger::Warning<<"PowerDNS "<<VERSION<<" (C) 2001-2005 PowerDNS.COM BV ("<<__DATE__", "__TIME__;
+#ifdef __GNUC__
+ L<<", gcc "__VERSION__;
+#endif // add other compilers here
+ L<<") starting up"<<endl;
L<<Logger::Warning<<"PowerDNS comes with ABSOLUTELY NO WARRANTY. "
"This is free software, and you are welcome to redistribute it "