libupkg: Fix spurious success in upkg_decode_index.
[upkg.git] / bootstrap
blobabdb256c82bf75716ea9274a3e724b03dad5c6d0
1 #!/bin/sh
3 die()
5 echo $@ 1>&2
6 exit 1
9 test -d m4 || mkdir m4
10 test -d lib || mkdir lib
12 git submodule update --init || echo "Failed to update Gnulib sources from git."
13 if test -x gnulib/gnulib-tool; then
14 gnulib/gnulib-tool --update || die "Failed to update gnulib."
15 else
16 die "Gnulib sources are not properly installed in gnulib/"
19 autoreconf -fis