annotate new.bash @ 100:63e8633abc34
stable-5-8
allow empty env_to at global context to remove all restrictions on child contexts
author |
carl |
date |
Sun, 25 Sep 2005 08:38:29 -0700 |
parents |
b7449114ebb0 |
children |
|
rev |
line source |
71
|
1 #!/bin/bash
|
|
2
|
|
3 ############################
|
|
4 ## compile and run the new parser program
|
|
5 ##
|
73
|
6 rm -f dnsbl.o scanner.o context.o tokenizer.o
|
74
|
7 g++ -c -pthread dnsbl.cpp scanner.cpp context.cpp tokenizer.cpp
|
71
|
8 if [ $? -ne 0 ]; then
|
|
9 echo "compiler errors"
|
|
10 exit
|
|
11 fi
|
74
|
12 g++ -o dnsbl dnsbl.o scanner.o context.o tokenizer.o /usr/lib/libresolv.a -lmilter -pthread
|
71
|
13 if [ $? -ne 0 ]; then
|
|
14 echo "linker errors"
|
|
15 exit
|
|
16 fi
|