#!/bin/sh -e

# chkcc - check out autoproject by building a source package using C++

# remember where the skeletons are buried
srcdir=${srcdir:-.}
HERE=`pwd`
# aclocal looks in .. and ../.. for some standard files, so we start
# deeper than that
rm -rf testcc
mkdir testcc; cd testcc
mkdir deeper; cd deeper
sh $HERE/autoproject -d  "chops wood" -L -L../../$srcdir/lib -i cli hatchet <<EOF
c++





y

y






EOF
cd hatchet
make
make distcheck
