lnav/autogen.sh

27 lines
560 B
Bash
Raw Normal View History

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
AUTORECONF=autoreconf
fi
fi
2015-04-06 07:07:07 +00:00
if test x"${AUTORECONF}" != x""; then
${AUTORECONF} -vfi -I m4
else
AUTOCONF=${AUTOCONF:-autoconf}
AUTOMAKE=${AUTOMAKE:-automake}
AUTOHEADER=${AUTOHEADER:-autoheader}
ACLOCAL=${ACLOCAL:-aclocal}
${AUTOCONF} --version
${AUTOMAKE} --version
${ACLOCAL} -I m4 -I .
${AUTOHEADER} -I .
${AUTOMAKE} --add-missing --copy --force-missing --foreign
${AUTOCONF}
fi