lnav/autogen.sh

27 lines
560 B
Bash
Raw Normal View History

2009-09-14 03:07:32 +02:00
#! /bin/sh
2015-03-14 03:59:28 +01:00
2015-04-06 09:07:07 +02: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 09:07:07 +02: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