1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#! /bin/sh
set -x
if [ "x${ACLOCAL_DIR}" != "x" ]; then
ACLOCAL_ARG="-I ${ACLOCAL_DIR}"
fi
${ACLOCAL:-aclocal} ${ACLOCAL_ARG}
# Darwin has different name for "libtoolize"
UNAME=`uname`
if [ "x${UNAME}" = "xDarwin" ]; then
${LIBTOOLIZE:-glibtoolize} -c --automake
else
${LIBTOOLIZE:-libtoolize} -c --automake
fi
# intltoolize -c --automake
${AUTOHEADER:-autoheader}
${AUTOMAKE:-automake} --add-missing --copy --include-deps
${AUTOCONF:-autoconf}
if [ -d autom4te.cache ]; then
rm -rf autom4te.cache
fi
|