Build: Don't allow empty LIST in --enable-match-finders=LIST.
[xz/debian.git] / autogen.sh
blob020c365c70b8539da606800702cd798b414bbdd0
1 #!/bin/sh
3 ###############################################################################
5 # Author: Lasse Collin
7 # This file has been put into the public domain.
8 # You can do whatever you want with this file.
10 ###############################################################################
12 set -e -x
14 # The following six lines are almost identical to "autoreconf -fi" but faster.
15 ${AUTOPOINT:-autopoint} -f
16 ${LIBTOOLIZE:-libtoolize} -c -f || glibtoolize -c -f
17 ${ACLOCAL:-aclocal} -I m4
18 ${AUTOCONF:-autoconf}
19 ${AUTOHEADER:-autoheader}
20 ${AUTOMAKE:-automake} -acf --foreign
22 # Generate the translated man pages if the "po4a" tool is available.
23 # This is *NOT* done by "autoreconf -fi" or when "make" is run.
25 # Pass --no-po4a to this script to skip this step. It can be useful when
26 # you know that po4a isn't available and don't want autogen.sh to exit
27 # with non-zero exit status.
28 if test "x$1" != "x--no-po4a"; then
29 cd po4a
30 sh update-po
33 exit 0