Revision df304c82
b/autogen.sh | ||
---|---|---|
1 |
#!/bin/bash
|
|
1 |
#!/bin/sh |
|
2 | 2 |
|
3 | 3 |
if test ! -f configure.ac ; then |
4 | 4 |
echo "You must execute this script from the top level directory." |
... | ... | |
9 | 9 |
|
10 | 10 |
rm -rf config.cache autom4te.cache |
11 | 11 |
|
12 |
ACLOCAL_VERSION=$(${ACLOCAL:-aclocal} --version | head -1 | \ |
|
13 |
sed -e 's/^[^0-9]*\([0-9\.]*\)$/\1/') |
|
14 |
|
|
15 |
if [[ "$ACLOCAL_VERSION" < "1.11.1" ]]; then |
|
16 |
echo "aclocal version $ACLOCAL_VERSION is too old (< 1.11.1)" |
|
17 |
exit 1 |
|
18 |
fi |
|
19 |
|
|
20 | 12 |
${ACLOCAL:-aclocal} -I autotools |
21 | 13 |
${AUTOCONF:-autoconf} |
22 | 14 |
${AUTOMAKE:-automake} --add-missing |
Also available in: Unified diff