Merge branch 'collectd-4.3' into collectd-4.4
[collectd.git] / build.sh
1 #! /bin/sh
2
3 if ! which lex > /dev/null 2>&1; then
4         echo "WARNING: lex not found!" >&2
5         echo "Make sure that you have a flex compatible tool available." >&2
6 fi
7
8 if ! which yacc > /dev/null 2>&1; then
9         echo "WARNING: yacc not found!" >&2
10         echo "Make sure that you have a GNU bison compatible tool available." >&2
11 fi
12
13 libtoolize=libtoolize
14
15 if which glibtoolize > /dev/null 2>&1; then
16         libtoolize=glibtoolize
17 fi
18
19 set -x
20
21 autoheader \
22 && aclocal \
23 && $libtoolize --ltdl --copy --force \
24 && automake --add-missing --copy \
25 && autoconf