Code

Merge branch 'collectd-4.4'
[collectd.git] / build.sh
1 #! /bin/sh
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
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
13 libtoolize=libtoolize
15 if which glibtoolize > /dev/null 2>&1; then
16         libtoolize=glibtoolize
17 fi
19 set -x
21 autoheader \
22 && aclocal \
23 && $libtoolize --ltdl --copy --force \
24 && automake --add-missing --copy \
25 && autoconf