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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
71
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
1 #!/bin/bash
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
2
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
3 ############################
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
4 ## compile and run the new parser program
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
5 ##
73
2b369f7db7bf start coding on new config syntax
carl
parents: 71
diff changeset
6 rm -f dnsbl.o scanner.o context.o tokenizer.o
74
b7449114ebb0 start coding on new config syntax
carl
parents: 73
diff changeset
7 g++ -c -pthread dnsbl.cpp scanner.cpp context.cpp tokenizer.cpp
71
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
8 if [ $? -ne 0 ]; then
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
9 echo "compiler errors"
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
10 exit
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
11 fi
74
b7449114ebb0 start coding on new config syntax
carl
parents: 73
diff changeset
12 g++ -o dnsbl dnsbl.o scanner.o context.o tokenizer.o /usr/lib/libresolv.a -lmilter -pthread
71
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
13 if [ $? -ne 0 ]; then
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
14 echo "linker errors"
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
15 exit
dd21c8e13074 start coding on new config syntax
carl
parents:
diff changeset
16 fi