From: Bert Hubert Date: Fri, 29 Nov 2002 22:02:33 +0000 (+0000) Subject: debugging output X-Git-Tag: pdns-2.9.1~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68d8bf3a2176371e58aa65d8bff7d0778b9eb49c;p=pdns debugging output git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@29 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/configure.in b/configure.in index 2936a27d9..8a624ced4 100644 --- a/configure.in +++ b/configure.in @@ -148,7 +148,30 @@ AC_SUBST(moduledirs) AC_SUBST(moduleobjects) AC_SUBST(modulelibs) -if echo $modules | grep -q "mysql" +for a in $modules +do + case "$a" in + pgmysql ) + if test "$dopgsql" + then + needpgsql=yes + fi + if test "$domysql" + then + needmysql=yes + fi + ;; + mysql ) + needmysql=yes + ;; + pdns ) + needmysql=yes + ;; + esac +done + + +if test "$needmysql" then AC_ARG_WITH(mysql, [ --with-mysql= root directory path of MySQL installation], @@ -204,17 +227,6 @@ then LIBS="$LIBS -lmysqlclient" fi -for a in $modules -do - case "$a" in - pgmysql ) - if test "$dopgsql" - then - needpgsql=yes - fi - ;; - esac -done if test "$needpgsql" diff --git a/pdns/dnspacket.cc b/pdns/dnspacket.cc index d28548ea4..b86f30c0e 100644 --- a/pdns/dnspacket.cc +++ b/pdns/dnspacket.cc @@ -16,7 +16,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -// $Id: dnspacket.cc,v 1.1 2002/11/27 15:18:31 ahu Exp $ +// $Id: dnspacket.cc,v 1.2 2002/11/29 22:02:33 ahu Exp $ #include "utility.hh" #include @@ -490,7 +490,6 @@ void DNSPacket::addSOARecord(const string &domain, const string & content, u_int u_int32_t *ttlp=(u_int32_t *)(p+4); - cout<<"adding ttl: "< @@ -154,7 +154,6 @@ bool UeberBackend::getSOA(const string &domain, SOAData &sd) rr.qtype=QType::SOA; rr.content=DNSPacket::serializeSOAData(sd); rr.ttl=sd.ttl; - cout<<"Set rr.ttl to "<