summaryrefslogtreecommitdiff
path: root/lib/autogen.sh
blob: d9cee9d39a16238a7c589a82abb8599164e62737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

[ -d m4 ] || mkdir m4
[ -d build-aux ] || mkdir build-aux

if [ -x "`which autoreconf 2>/dev/null`" ] ; then
   exec autoreconf -ivf
fi

aclocal -I m4 && \
    autoheader && \
    libtoolize --automake -c && \
    autoconf && \
    automake --add-missing --copy