summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2009-04-25 18:52:24 (UTC)
committer Michael Krelin <hacker@klever.net>2009-04-25 18:52:24 (UTC)
commit18ae3c58d51547bc087e7a2b85b63dd87d395f25 (patch) (unidiff)
treea33703718e3f5584e3ef1a2d2759e094410b22f2
parenta07665e030a8f26f6cd77efc466507ed6381acc5 (diff)
downloadlibopkele-18ae3c58d51547bc087e7a2b85b63dd87d395f25.zip
libopkele-18ae3c58d51547bc087e7a2b85b63dd87d395f25.tar.gz
libopkele-18ae3c58d51547bc087e7a2b85b63dd87d395f25.tar.bz2
autogen: try to detect libtoolize
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xautogen.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index ba27501..bf32a35 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,7 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2WANT_AUTOMAKE=1.8 2tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)"
3export WANT_AUTOMAKE 3if test -z "$tool_libtoolize" ; then
4libtoolize -f \ 4 echo "Failed to find libtoolize." ; exit 1;
5fi
6 "$tool_libtoolize" -f \
5&& aclocal \ 7&& aclocal \
6&& autoheader \ 8&& autoheader \
7&& automake -a \ 9&& automake -a \