neobytes/autogen.sh

12 lines
335 B
Bash
Raw Normal View History

2013-11-28 02:21:40 +01:00
#!/bin/sh
set -e
srcdir="$(dirname $0)"
cd "$srcdir"
2014-06-06 16:23:34 +02:00
if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
LIBTOOLIZE="${GLIBTOOLIZE}"
export LIBTOOLIZE
2014-06-06 16:23:34 +02:00
fi
which autoreconf >/dev/null || \
(echo "configuration failed, please install autoconf first" && exit 1)
autoreconf --install --force --warnings=all