]>
git.ipfire.org Git - thirdparty/lldpd.git/blob - autogen.sh
5 [ ! -d .gitmodules
] ||
{
6 echo "autogen.sh: updating git submodules"
13 LIBTOOLIZE
=${LIBTOOLIZE:-glibtoolize}
16 LIBTOOLIZE
=${LIBTOOLIZE:-libtoolize}
19 AUTORECONF
=${AUTORECONF:-autoreconf}
20 ACLOCAL
=${ACLOCAL:-aclocal}
21 AUTOCONF
=${AUTOCONF:-autoconf}
22 AUTOHEADER
=${AUTOHEADER:-autoheader}
23 AUTOMAKE
=${AUTOMAKE:-automake}
25 echo "autogen.sh: start libtoolize to get ltmain.sh"
26 ${LIBTOOLIZE} --copy --force
27 echo "autogen.sh: reconfigure with autoreconf"
28 ${AUTORECONF} -vif -I m4 ||
{
29 echo "autogen.sh: autoreconf has failed ($?), let's do it manually"
31 [ -d "$dir" ] ||
continue
32 [ -f "$dir"/configure.ac
] ||
[ -f "$dir"/configure.
in ] ||
continue
33 echo "autogen.sh: configure `basename $dir`"
34 (cd "$dir" && ${ACLOCAL} -I m4)
35 (cd "$dir" && ${LIBTOOLIZE} --automake --copy --force)
36 (cd "$dir" && ${ACLOCAL} -I m4)
37 (cd "$dir" && ${AUTOCONF} --force)
38 (cd "$dir" && ${AUTOHEADER})
39 (cd "$dir" && ${AUTOMAKE} --add-missing --copy --force-missing)
43 echo "autogen.sh: for the next step, run ./configure"