toolchain: autoconf: add workaround for >autoconf-2.69

Since >autoconf-2.69, autoreconf will check for GTK_DOC_CHECK macro and
will call gtkdocize automatically [Link 1] when invoked with "--install"
parameter.

Because we do not care about docs in libreelec packages, we can stick to our poor
man's implementation of autoreconf and replace calls to gtkdocize with true.

Link 1: https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=dd880a0a6de5602cdd40b770ed6b083b34aa0768

source of patch:
https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=235fcd4e9c1f57af368ca9bbe9dd25effc0dc900
This commit is contained in:
heitbaum 2021-08-06 21:56:51 +10:00
parent 52aedfea8e
commit a5988425a1

View File

@ -829,6 +829,15 @@ do_autoreconf() {
export LIBTOOL=$TOOLCHAIN/bin/libtool
fi
# >autoconf-2.69 will call gtkdocize when used in macros
# when called with --install parameter.
# use "true" unkess gtkdocsize is in the toolchain.
if [ -e "$TOOLCHAIN/bin/gtkdocize" ]; then
export GTKDOCIZE=$TOOLCHAIN/bin/gtkdocize
else
export GTKDOCIZE=true
fi
if [ -e "$TOOLCHAIN/bin/autoreconf" -a -e "$INTLTOOLIZE" ]; then
mkdir -p $ACLOCAL_DIR
if [ -e "$LIBTOOLIZE" ]; then