Changeset View
Changeset View
Standalone View
Standalone View
autogen.sh
#!/bin/sh | #!/bin/sh | ||||
# Copyright (c) 2013-2016 The Bitcoin Core developers | # Copyright (c) 2013-2016 The Bitcoin Core developers | ||||
# Distributed under the MIT software license, see the accompanying | # Distributed under the MIT software license, see the accompanying | ||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
export LC_ALL=C | |||||
set -e | set -e | ||||
srcdir="$(dirname $0)" | srcdir="$(dirname $0)" | ||||
cd "$srcdir" | cd "$srcdir" | ||||
if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="$(command -v glibtoolize)"; then | if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="$(command -v glibtoolize)"; then | ||||
LIBTOOLIZE="${GLIBTOOLIZE}" | LIBTOOLIZE="${GLIBTOOLIZE}" | ||||
export LIBTOOLIZE | export LIBTOOLIZE | ||||
fi | fi | ||||
command -v autoreconf >/dev/null || \ | command -v autoreconf >/dev/null || \ | ||||
(echo "configuration failed, please install autoconf first" && exit 1) | (echo "configuration failed, please install autoconf first" && exit 1) | ||||
autoreconf --install --force --warnings=all | autoreconf --install --force --warnings=all |