4 die() { printf '%s\n' "$@" 1>&2; kill -USR1 $$; }
6 : ${AUTORECONF=autoreconf}
11 $GIT submodule update --init \
12 || echo "Failed to update Gnulib sources from git."
14 if test -x $GNULIB/gnulib-tool; then
15 $GNULIB/gnulib-tool --update -S || die "Failed to update Gnulib."
17 die "Gnulib sources are not properly installed in gnulib/."
20 $PERL fix-gnulib.pl -o lib/gnulib.mk -i lib/gnulib.mk.in -m m4/fix-gnulib.m4 \
21 || die "Failed to fixup Gnulib makefile fragment."