26 lines
491 B
Bash
Executable File
26 lines
491 B
Bash
Executable File
#! /bin/sh
|
|
|
|
: ${AUTOHEADER="autoheader${AC_VER}"}
|
|
: ${AUTOCONF="autoconf${AC_VER}"}
|
|
: ${ACLOCAL="aclocal${AM_VER}"}
|
|
: ${AUTOMAKE="automake${AM_VER}"}
|
|
|
|
export ACLOCAL AUTOHEADER AUTOCONF AUTOMAKE
|
|
|
|
# Bootstrap the build system.
|
|
|
|
set -x
|
|
|
|
rm -rf autom4te.cache
|
|
|
|
# MacOS calls it "glibtoolize", everyone else "libtoolize"
|
|
# probe for that
|
|
LIBTOOLIZE=libtoolize
|
|
glibtoolize --version > /dev/null 2>&1 && LIBTOOLIZE=glibtoolize
|
|
${LIBTOOLIZE}
|
|
|
|
${ACLOCAL}
|
|
${AUTOHEADER}
|
|
${AUTOCONF}
|
|
${AUTOMAKE} -a -c
|