2013-11-27 22:21:40 -03:00
|
|
|
#!/bin/sh
|
2016-09-21 19:35:21 -03:00
|
|
|
# Copyright (c) 2013-2016 The Bitcoin Core developers
|
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2013-11-27 22:24:26 -03:00
|
|
|
set -e
|
2013-11-27 22:25:58 -03:00
|
|
|
srcdir="$(dirname $0)"
|
|
|
|
cd "$srcdir"
|
2014-06-06 10:23:34 -04:00
|
|
|
if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
|
2014-10-03 15:58:59 -03:00
|
|
|
LIBTOOLIZE="${GLIBTOOLIZE}"
|
|
|
|
export LIBTOOLIZE
|
2014-06-06 10:23:34 -04:00
|
|
|
fi
|
2016-02-12 17:44:42 -03:00
|
|
|
which autoreconf >/dev/null || \
|
|
|
|
(echo "configuration failed, please install autoconf first" && exit 1)
|
2014-08-26 05:39:32 -04:00
|
|
|
autoreconf --install --force --warnings=all
|