1#! /bin/sh
2
3: ${AUTOHEADER="autoheader${AC_VER}"}
4: ${AUTOCONF="autoconf${AC_VER}"}
5: ${ACLOCAL="aclocal${AM_VER}"}
6: ${AUTOMAKE="automake${AM_VER}"}
7
8export ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE
9
10# Bootstrap the build system.
11
12set -x
13
14rm -rf autom4te.cache
15
16# MacOS calls it "glibtoolize", everyone else "libtoolize"
17# probe for that
18LIBTOOLIZE=libtoolize
19glibtoolize --version > /dev/null 2>&1 && LIBTOOLIZE=glibtoolize
20${LIBTOOLIZE}
21
22${ACLOCAL}
23${AUTOHEADER}
24${AUTOCONF}
25${AUTOMAKE} -a -c
26