autogen.sh 512 Bytes
Newer Older
squbs's avatar
squbs committed
1
#!/bin/sh
squbs's avatar
squbs committed
2
# Copyright (c) 2017 STRAKS developers
squbs's avatar
squbs committed
3 4 5 6 7 8 9 10 11 12 13 14 15
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

set -e
srcdir="$(dirname $0)"
cd "$srcdir"
if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
  LIBTOOLIZE="${GLIBTOOLIZE}"
  export LIBTOOLIZE
fi
which autoreconf >/dev/null || \
  (echo "configuration failed, please install autoconf first" && exit 1)
autoreconf --install --force --warnings=all