autogen.sh raw

   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.
   5  
   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
  12  fi
  13  which autoreconf >/dev/null || \
  14    (echo "configuration failed, please install autoconf first" && exit 1)
  15  autoreconf --install --force --warnings=all
  16