aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap22
1 files changed, 17 insertions, 5 deletions
diff --git a/bootstrap b/bootstrap
index c5d20984..2875484f 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,8 +1,20 @@
1#!/bin/sh 1#!/bin/sh
2echo "Removing folder 'libltdl'..."
3rm -rf libltdl
2 4
3libtoolize --automake --copy --force 5echo "checking for libtoolize / libtool... "
4aclocal -I m4
5autoheader
6autoconf
7automake --add-missing --copy
8 6
7# This is more portable than `which' but comes with
8# the caveat of not(?) properly working on busybox's ash:
9existence()
10{
11 command -v "$1" >/dev/null 2>&1
12}
13
14if existence libtool || existence libtoolize || existence glibtoolize; then
15 autoreconf -if
16 . "contrib/pogen.sh"
17else
18 echo "*** No libtoolize (libtool) or libtool found, please install it ***" >&2;
19 exit 1
20fi