]> granicus.if.org Git - pdns/commitdiff
debugging output
authorBert Hubert <bert.hubert@netherlabs.nl>
Fri, 29 Nov 2002 22:02:33 +0000 (22:02 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Fri, 29 Nov 2002 22:02:33 +0000 (22:02 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@29 d19b8d6e-7fed-0310-83ef-9ca221ded41b

configure.in
pdns/dnspacket.cc
pdns/ueberbackend.cc

index 2936a27d9521f9dfd689ce12b5c662c7258b0e1b..8a624ced44b85e9b5ffca1836c41bbbf396edaa0 100644 (file)
@@ -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=<path>     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" 
index d28548ea41a89d025b38f540493bafefe1f98092..b86f30c0e171a18a7fb1e2e1fdfee307a92198a0 100644 (file)
@@ -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 <cstdio>
 
@@ -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: "<<ttl<<endl;
   *ttlp=htonl(ttl); // 4, 5, 6, 7
   
   p[8]=0;
index e8e7ef0b717ee318979f6598efa2ee8eb12ae2cb..c5d9415ac7b3346aa61d06a31a6045fa7d4aaf4a 100644 (file)
@@ -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: ueberbackend.cc,v 1.1 2002/11/27 15:18:33 ahu Exp $ 
+// $Id: ueberbackend.cc,v 1.2 2002/11/29 22:02:33 ahu Exp $ 
 /* (C) Copyright 2002 PowerDNS.COM BV */\r
 #include "utility.hh"
 #include <string>
@@ -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 "<<sd.ttl<<endl;
       rr.domain_id=sd.domain_id;
       addOneCache(d_question,rr);
       return true;