summaryrefslogtreecommitdiffabout
path: root/autogen.bash
Unidiff
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 @@
1#!/bin/sh
2tool_libtoolize="$(type -P glibtoolize || type -P libtoolize)"
3if test -z "$tool_libtoolize" ; then
4 echo "Failed to find libtoolize." ; exit 1;
5fi
6 (test -d aux.d || mkdir aux.d) \
7&& (test -d aclocal.d || mkdir aclocal.d) \
8&& "$tool_libtoolize" -f \
9&& aclocal -I aclocal.d \
10&& autoheader \
11&& automake -a \
12&& (autoconf || autoconf) \
13&& ./configure "$@"