comparison test.bash @ 74:b7449114ebb0

start coding on new config syntax
author carl
date Sun, 10 Jul 2005 14:19:00 -0700
parents 390ed250c5d2
children 81f1e400e8ab
comparison
equal deleted inserted replaced
73:2b369f7db7bf 74:b7449114ebb0
16 16
17 17
18 ########################### 18 ###########################
19 # compile the milter 19 # compile the milter
20 # 20 #
21 g++ -c -pthread dnsbl.cpp 21 rm -f dnsbl.o scanner.o context.o tokenizer.o
22 g++ -c -pthread dnsbl.cpp scanner.cpp context.cpp tokenizer.cpp
22 if [ $? -ne 0 ]; then 23 if [ $? -ne 0 ]; then
23 echo "compiler errors" 24 echo "compiler errors"
24 exit 25 exit
25 fi 26 fi
26 g++ -o dnsbl dnsbl.o /usr/lib/libresolv.a -lmilter -pthread 27 g++ -o dnsbl dnsbl.o scanner.o context.o tokenizer.o /usr/lib/libresolv.a -lmilter -pthread
27 if [ $? -ne 0 ]; then 28 if [ $? -ne 0 ]; then
28 echo "linker errors" 29 echo "linker errors"
29 exit 30 exit
30 fi 31 fi
31 32