aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap23
1 files changed, 17 insertions, 6 deletions
diff --git a/bootstrap b/bootstrap
index a1cdcfa00..487f4817c 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,9 +1,20 @@
1#!/bin/sh 1#!/bin/sh
2echo "Removing folder 'libltdl'..."
2rm -rf libltdl 3rm -rf libltdl
3echo -n "checking for libtoolize / libtool... " 4
4which glibtoolize || which libtoolize || which libtool || { 5echo "checking for libtoolize / libtool... "
5 echo "*** No libtoolize (libtool) or libtool found, please install it ***" 6
6 exit 1 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
7} 12}
8autoreconf -if 13
9. "bin/pogen.sh" 14if existence libtool || existence libtoolize || existence glibtoolize; then
15 autoreconf -if
16 . "bin/pogen.sh"
17else
18 echo "*** No libtoolize (libtool) or libtool found, please install it ***" >&2;
19 exit 1
20fi