aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 46e36ff5b216c5e42c56c133ca84c52a57d19b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
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