-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,9 +1,11 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | WANT_AUTOMAKE=1.8 | 2 | tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)" |
3 | export WANT_AUTOMAKE | 3 | if test -z "$tool_libtoolize" ; then |
4 | libtoolize -f \ | 4 | echo "Failed to find libtoolize." ; exit 1; |
5 | fi | ||
6 | "$tool_libtoolize" -f \ | ||
5 | && aclocal \ | 7 | && aclocal \ |
6 | && autoheader \ | 8 | && autoheader \ |
7 | && automake -a \ | 9 | && automake -a \ |
8 | && autoconf \ | 10 | && autoconf \ |
9 | && ./configure "$@" | 11 | && ./configure "$@" |