author | Michael Krelin <hacker@klever.net> | 2009-04-25 18:52:24 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2009-04-25 18:52:24 (UTC) |
commit | 18ae3c58d51547bc087e7a2b85b63dd87d395f25 (patch) (unidiff) | |
tree | a33703718e3f5584e3ef1a2d2759e094410b22f2 /autogen.sh | |
parent | a07665e030a8f26f6cd77efc466507ed6381acc5 (diff) | |
download | libopkele-18ae3c58d51547bc087e7a2b85b63dd87d395f25.zip libopkele-18ae3c58d51547bc087e7a2b85b63dd87d395f25.tar.gz libopkele-18ae3c58d51547bc087e7a2b85b63dd87d395f25.tar.bz2 |
autogen: try to detect libtoolize
Signed-off-by: Michael Krelin <hacker@klever.net>
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,9 @@ | |||
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 \ |