Check we have all the corelibs when we boot
[ghc.git] / boot
1 #!/bin/sh
2
3 set -e
4
5 for d in `cat libraries/core-packages`
6 do
7     if test ! -d libraries/$d
8     then
9         echo "Looks like you're missing libraries/$d,"
10         echo "maybe you haven't done 'sh darcs-all get'?"
11         exit 1
12     fi
13 done
14
15 autoreconf
16
17 for lib in libraries/*; do
18     if test -e $lib/configure.ac
19     then
20         cd $lib
21         autoreconf
22         cd ../..
23     fi
24 done
25