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) (side-by-side diff) | |
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,9 +1,11 @@ #!/bin/sh -WANT_AUTOMAKE=1.8 -export WANT_AUTOMAKE -libtoolize -f \ +tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)" +if test -z "$tool_libtoolize" ; then + echo "Failed to find libtoolize." ; exit 1; +fi + "$tool_libtoolize" -f \ && aclocal \ && autoheader \ && automake -a \ && autoconf \ && ./configure "$@" |