1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
INSTALL_HOME=
if [ $# -gt 0 ]; then
INSTALL_HOME=$1
fi
if [ "$INSTALL_HOME"X == "X" ]; then
INSTALL_HOME=$HOME/CUnitHome
fi
libtoolize --force --copy && \
aclocal && \
autoheader && \
automake --add-missing --include-deps --copy && \
autoconf
if [ $? -ne 0 ]; then
echo "Automake/Autoconf returned with error."
exit 1
fi
mkdir -p $INSTALL_HOME
if [ $# -gt 0 ]; then
./configure --srcdir=`pwd` --prefix=$INSTALL_HOME --enable-debug --enable-automated --enable-basic --enable-console --enable-examples --enable-test
else
./configure --srcdir=`pwd` --prefix=$INSTALL_HOME --enable-debug --enable-memtrace --enable-automated --enable-basic --enable-console --enable-examples --enable-test
fi
|