author | Michael Krelin <hacker@klever.net> | 2009-04-25 20:11:02 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2009-04-25 20:11:02 (UTC) |
commit | 40bc4d390e016cbb64ea25be177daa92c94a8285 (patch) (unidiff) | |
tree | 7d48d2a723697ecaaf797f6fd35ed38705aa00c6 | |
parent | ad2d5d7e3a84d35b819e959d6ebab782f5d75b83 (diff) | |
download | libopkele-40bc4d390e016cbb64ea25be177daa92c94a8285.zip libopkele-40bc4d390e016cbb64ea25be177daa92c94a8285.tar.gz libopkele-40bc4d390e016cbb64ea25be177daa92c94a8285.tar.bz2 |
autogen: try to ensure aux.d existence
Signed-off-by: Michael Krelin <hacker@klever.net>
-rwxr-xr-x | autogen.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,11 +1,12 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)" | 2 | tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)" |
3 | if test -z "$tool_libtoolize" ; then | 3 | if test -z "$tool_libtoolize" ; then |
4 | echo "Failed to find libtoolize." ; exit 1; | 4 | echo "Failed to find libtoolize." ; exit 1; |
5 | fi | 5 | fi |
6 | "$tool_libtoolize" -f \ | 6 | test -d aux.d || mkdir aux.d \ |
7 | && "$tool_libtoolize" -f \ | ||
7 | && aclocal -I aclocal.d \ | 8 | && aclocal -I aclocal.d \ |
8 | && autoheader \ | 9 | && autoheader \ |
9 | && automake -a \ | 10 | && automake -a \ |
10 | && autoconf \ | 11 | && autoconf \ |
11 | && ./configure "$@" | 12 | && ./configure "$@" |