Mercurial > dnsbl
comparison new.bash @ 74:b7449114ebb0
start coding on new config syntax
author | carl |
---|---|
date | Sun, 10 Jul 2005 14:19:00 -0700 |
parents | 2b369f7db7bf |
children |
comparison
equal
deleted
inserted
replaced
73:2b369f7db7bf | 74:b7449114ebb0 |
---|---|
2 | 2 |
3 ############################ | 3 ############################ |
4 ## compile and run the new parser program | 4 ## compile and run the new parser program |
5 ## | 5 ## |
6 rm -f dnsbl.o scanner.o context.o tokenizer.o | 6 rm -f dnsbl.o scanner.o context.o tokenizer.o |
7 g++ -c dnsbl.cpp scanner.cpp context.cpp tokenizer.cpp | 7 g++ -c -pthread dnsbl.cpp scanner.cpp context.cpp tokenizer.cpp |
8 if [ $? -ne 0 ]; then | 8 if [ $? -ne 0 ]; then |
9 echo "compiler errors" | 9 echo "compiler errors" |
10 exit | 10 exit |
11 fi | 11 fi |
12 g++ -o dnsbl dnsbl.o scanner.o context.o tokenizer.o -pthread | 12 g++ -o dnsbl dnsbl.o scanner.o context.o tokenizer.o /usr/lib/libresolv.a -lmilter -pthread |
13 if [ $? -ne 0 ]; then | 13 if [ $? -ne 0 ]; then |
14 echo "linker errors" | 14 echo "linker errors" |
15 exit | 15 exit |
16 fi | 16 fi |