2 # SPDX-License-Identifier: 0BSD
4 ###############################################################################
8 ###############################################################################
12 # The following six lines are almost identical to "autoreconf -fi" but faster.
13 ${AUTOPOINT:-autopoint} -f
14 ${LIBTOOLIZE:-libtoolize} -c -f || glibtoolize
-c -f
15 ${ACLOCAL:-aclocal} -I m4
17 ${AUTOHEADER:-autoheader}
18 ${AUTOMAKE:-automake} -acf --foreign
20 # Generate the translated man pages if the "po4a" tool is available.
21 # This is *NOT* done by "autoreconf -fi" or when "make" is run.
22 # Pass --no-po4a to this script to skip this step.
23 # It can be useful when you know that po4a isn't available and
24 # don't want autogen.sh to exit with non-zero exit status.
36 if test "$generate_po4a" != "n"; then