Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 1 | #! /bin/bash |
2 | # | ||||
3 | # Bootstrap Quagga autotools for pimd. | ||||
4 | # | ||||
5 | # Run from quagga's top dir as: | ||||
6 | # ./pimd/quagga-bootstrap.sh | ||||
7 | # | ||||
8 | # $QuaggaId: $Format:%an, %ai, %h$ $ | ||||
9 | |||||
10 | me=`basename $0` | ||||
11 | msg () { | ||||
12 | echo >&2 $me: $* | ||||
13 | } | ||||
14 | |||||
15 | if [ -f ./bootstrap.sh ]; then | ||||
16 | msg found ./bootstrap.sh from quagga | ||||
17 | ./bootstrap.sh | ||||
18 | else | ||||
19 | msg missing ./bootstrap.sh from quagga | ||||
20 | autoreconf -i --force | ||||
21 | fi |