s3:tests: Reformat test_dfree_command.sh
[Samba.git] / third_party / heimdal / autogen.sh
blob0817912cd811118fab32a35717f16dddde9525ab
1 #!/bin/sh
3 # to really generate all files you need to run "make distcheck" in a
4 # object tree, but this will do if you have all parts of the required
5 # tool-chain installed
6 set -e
7 autoreconf -f -i || { echo "autoreconf failed: $?"; exit 1; }
8 find . \( -name '*-private.h' -o -name '*-protos.h' \) | xargs rm -f
9 perl -MJSON -e 'print foo;' || \
10 { echo "you must install JSON perl module (cpan install JSON)"; exit 1; }
12 # This is to build the DISTFILES into the disttree for heimdal-lorikeet
14 ./configure || exit 1
15 make distdir-in-tree || exit 1
16 make distclean || exit 1
17 exit 0