File: bootstrap

package info (click to toggle)
cunit 2.1-3-dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 4,196 kB
  • sloc: sh: 9,860; ansic: 9,503; cpp: 1,270; makefile: 380; perl: 45
file content (26 lines) | stat: -rwxr-xr-x 698 bytes parent folder | download | duplicates (5)
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