Avoid unused assignment
[heimdal.git] / autogen.sh
blobfc504dca28b3e6a8b68ee98b57e3dcb9ec840496
1 #!/bin/sh
2 # to really generate all files you need to run "make distcheck" in a
3 # object tree, but this will do if you have all parts of the required
4 # tool-chain installed
5 set -e
6 autoreconf -f -i || { echo "autoreconf failed: $?"; exit 1; }
7 find . \( -name '*-private.h' -o -name '*-protos.h' \) | xargs rm -f
8 perl -MJSON -e 'print foo;' || \
9 { echo "you must install JSON perl module (cpan install JSON)"; exit 1; }