2009-09-14 01:07:32 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
2015-03-14 02:59:28 +00:00
|
|
|
|
2015-04-06 07:07:07 +00:00
|
|
|
if test x"${AUTORECONF}" = x""; then
|
|
|
|
autoreconf -V 1>/dev/null 2>/dev/null
|
|
|
|
if test $? -eq 0; then
|
2015-04-06 05:44:25 +00:00
|
|
|
AUTORECONF=autoreconf
|
|
|
|
fi
|
|
|
|
fi
|
2015-04-06 04:57:32 +00:00
|
|
|
|
2015-04-06 07:07:07 +00:00
|
|
|
if test x"${AUTORECONF}" != x""; then
|
2015-04-06 04:57:32 +00:00
|
|
|
${AUTORECONF} -vfi -I m4
|
|
|
|
else
|
2015-04-06 05:44:25 +00:00
|
|
|
AUTOCONF=${AUTOCONF:-autoconf}
|
|
|
|
AUTOMAKE=${AUTOMAKE:-automake}
|
|
|
|
AUTOHEADER=${AUTOHEADER:-autoheader}
|
|
|
|
ACLOCAL=${ACLOCAL:-aclocal}
|
2015-04-06 04:57:32 +00:00
|
|
|
|
|
|
|
${AUTOCONF} --version
|
|
|
|
${AUTOMAKE} --version
|
|
|
|
|
|
|
|
${ACLOCAL} -I m4 -I .
|
|
|
|
${AUTOHEADER} -I .
|
|
|
|
${AUTOMAKE} --add-missing --copy --force-missing --foreign
|
|
|
|
${AUTOCONF}
|
|
|
|
fi
|