Changeset 82

Show
Ignore:
Timestamp:
12/17/02 11:39:53 (10 years ago)
Author:
ahu
Message:

random stuff

Location:
trunk/pdns
Files:
3 added
1 removed
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/Makefile.am

    r72 r82  
    1 SUBDIRS=modules pdns 
     1SUBDIRS=modules @programdescend@ 
    22EXTRA_DIST=TODO WARNING README HACKING INSTALL ChangeLog debian pdns.spec 
    33 
  • trunk/pdns/configure.in

    r80 r82  
    189189AC_SUBST(modulelibs) 
    190190 
     191AC_MSG_CHECKING(whether we will be building the server) 
     192AC_ARG_ENABLE(pdns-server,  
     193 [  --enable-pdns_server        If we should build the server], 
     194        enable_pdns_server=$enableval, 
     195        enable_pdns_server=yes) 
     196 
     197AC_MSG_RESULT($enable_pdns_server) 
     198 
     199if test x"$enable_pdns_server" = "xyes" 
     200then  
     201        programdescend=pdns 
     202fi 
     203 
     204AC_SUBST(programdescend) 
     205 
    191206for a in $modules $dynmodules 
    192207do 
     
    330345fi 
    331346 
    332 rm -f $srcdir/modules/pgmysqlbackend/OBJECTFILES $srcdir/modules/pgmysqlbackend/OBJECTLIBS 
    333347 
    334348for a in $modules 
    335349do 
    336350        moduledirs="$moduledirs ${a}backend" 
    337  
    338         case "$a" in 
    339                 pgmysql) 
    340  
    341                 echo -n "gmysqlbackend.o " >  $srcdir/modules/pgmysqlbackend/OBJECTFILES 
    342                 if test x"$domysql" = xyes 
    343                 then  
    344                         echo -n "smysql.o " >> $srcdir/modules/pgmysqlbackend/OBJECTFILES 
    345                         echo -n "-lmysqlclient " >> $srcdir/modules/pgmysqlbackend/OBJECTLIBS 
    346                 fi  
    347  
    348                 if test x"$dopgsql" = xyes 
    349                 then  
    350                         echo -n "spgsql.o " >> $srcdir/modules/pgmysqlbackend/OBJECTFILES 
    351                         echo -n "-lpq++ -lpq -lssl -lcrypt -lcrypto " >> $srcdir/modules/pgmysqlbackend/OBJECTLIBS 
    352                 fi  
    353                 ;; 
    354         esac 
    355  
    356351 
    357352        for b in `cat $srcdir/modules/${a}backend/OBJECTFILES` 
  • trunk/pdns/debian/rules

    r77 r82  
    22 
    33tmpdir          := $(shell pwd)/debian/tmp 
    4 backends        := mysql pipe xdb pgmysql 
     4backends        := mysql pipe xdb gmysql gpgsql 
    55 
    66configure: 
  • trunk/pdns/modules/gpgsqlbackend/Makefile.am

    r78 r82  
    11lib_LTLIBRARIES = libgpgsqlbackend.la 
    22 
     3EXTRA_DIST=OBJECTFILES OBJECTLIBS 
    34INCLUDES=-I@PGSQL_incdir@ 
    45 
  • trunk/pdns/modules/gpgsqlbackend/spgsql.cc

    r78 r82  
    11/* Copyright 200w Netherlabs BV, bert.hubert@netherlabs.nl. See LICENSE  
    22   for more information. 
    3    $Id: spgsql.cc,v 1.1 2002/12/16 18:02:09 ahu Exp $  */ 
     3   $Id: spgsql.cc,v 1.2 2002/12/17 10:39:53 ahu Exp $  */ 
     4#include <string> 
    45#include "spgsql.hh" 
    5 #include <string> 
     6 
    67#include <iostream> 
    78#include "pdns/logger.hh" 
  • trunk/pdns/modules/xdbbackend/Makefile.in

    r80 r82  
    1313 
    1414@SET_MAKE@ 
    15  
    16 #if !ALLSTATIC 
    17 #install-exec-local: 
    18 #       install .lib/libpipebackend.so.0.0.0 @libdir@ 
    19 #endif 
    2015 
    2116SHELL = @SHELL@ 
     
    9590modulelibs = @modulelibs@ 
    9691moduleobjects = @moduleobjects@ 
     92programdescend = @programdescend@ 
    9793socketdir = @socketdir@ 
    9894 
     
    10298lib_LTLIBRARIES = libxdbbackend.la 
    10399 
    104 libxdbbackend_la_SOURCES = xdbbackend.cc xdbbackend.hh xtdb.cc xtdb.hh 
     100libxdbbackend_la_SOURCES = xdbbackend.cc xtdb.cc xtdb.hh xdb.hh xgdbm.hh 
    105101libxdbbackend_la_LDFLAGS = -module -ltdb 
    106102 
  • trunk/pdns/pdns/Makefile.am

    r80 r82  
    3030backends/bind/bindparser.cc backends/bind/bindlexer.c \ 
    3131backends/bind/huffman.cc backends/gsql/gsqlbackend.cc \ 
    32 backends/gsql/gsqlbackend.hh 
     32backends/gsql/gsqlbackend.hh backends/gsql/ssql.hh  
    3333 
    3434#