summaryrefslogtreecommitdiffabout
path: root/autogen.bash
authorMichael Krelin <hacker@klever.net>2009-12-21 22:54:02 (UTC)
committer Michael Krelin <hacker@klever.net>2009-12-21 22:54:02 (UTC)
commitbd4c671f0a842309d17eb4579847b6fd1169ce5f (patch) (side-by-side diff)
treebea1d4b06f7499a36ece19a63b28bc75c817f29c /autogen.bash
parentc58f436d78a17947d348fe65d3fe4e281217f2ae (diff)
downloadlibopkele-bd4c671f0a842309d17eb4579847b6fd1169ce5f.zip
libopkele-bd4c671f0a842309d17eb4579847b6fd1169ce5f.tar.gz
libopkele-bd4c671f0a842309d17eb4579847b6fd1169ce5f.tar.bz2
auto(re)gen.(ba)sh: renamed scripts to .bash for this is what they are
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'autogen.bash') (more/less context) (ignore whitespace changes)
-rwxr-xr-xautogen.bash13
1 files changed, 13 insertions, 0 deletions
diff --git a/autogen.bash b/autogen.bash
new file mode 100755
index 0000000..691173c
--- a/dev/null
+++ b/autogen.bash
@@ -0,0 +1,13 @@
+#!/bin/sh
+tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)"
+if test -z "$tool_libtoolize" ; then
+ echo "Failed to find libtoolize." ; exit 1;
+fi
+ (test -d aux.d || mkdir aux.d) \
+&& (test -d aclocal.d || mkdir aclocal.d) \
+&& "$tool_libtoolize" -f \
+&& aclocal -I aclocal.d \
+&& autoheader \
+&& automake -a \
+&& (autoconf || autoconf) \
+&& ./configure "$@"