]>
Commit | Line | Data |
---|---|---|
62d30762 WM |
1 | #!/bin/sh |
2 | # Run this to generate all the initial makefiles, etc. | |
835630ef JM |
3 | if which libtoolize > /dev/null; then |
4 | echo "Found libtoolize" | |
5 | libtoolize -c | |
6 | elif which glibtoolize > /dev/null; then | |
7 | echo "Found glibtoolize" | |
8 | glibtoolize -c | |
9 | else | |
10 | echo "Failed to find libtoolize or glibtoolize, please ensure it is installed and accessible via your PATH env variable" | |
11 | exit 1 | |
12 | fi; | |
829238e4 | 13 | autoreconf -fv --install || exit 1 |
6f7e24d3 VJ |
14 | if which cargo > /dev/null; then |
15 | if [ -f rust/Cargo.lock ] ; then | |
16 | rm -f rust/Cargo.lock | |
17 | fi | |
18 | fi; | |
62d30762 | 19 | echo "You can now run \"./configure\" and then \"make\"." |