Fix resume-of-reindex-after-restart
[bitcoinplatinum.git] / autogen.sh
blob27417daf7691513da832eae5541b6c5bee091551
1 #!/bin/sh
2 # Copyright (c) 2013-2016 The Bitcoin Core developers
3 # Distributed under the MIT software license, see the accompanying
4 # file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 set -e
7 srcdir="$(dirname $0)"
8 cd "$srcdir"
9 if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
10 LIBTOOLIZE="${GLIBTOOLIZE}"
11 export LIBTOOLIZE
13 which autoreconf >/dev/null || \
14 (echo "configuration failed, please install autoconf first" && exit 1)
15 autoreconf --install --force --warnings=all