The following tools and libraries are required to run CVC4. Versions
given are minimum versions; more recent versions should be compatible.
+GNU C and C++ (gcc and g++), reasonably recent versions
+GNU Make
GMP v4.2
libantlr3c v3.2
Optional: CLN v1.3
target=$1
build_type=$2
-echo Setting up "builds/$target/$build_type"...
-rm -fv config.log config.status confdefs.h
-mkdir -pv "builds/$target/$build_type"
-ln -sfv "$target/$build_type/Makefile.builds" builds/Makefile
+$as_echo "Setting up builds/$target/$build_type..."
+$RM config.log config.status confdefs.h builds/Makefile
+$MKDIR_P "builds/$target/$build_type"
+$LN_S "$target/$build_type/Makefile.builds" builds/Makefile
-echo Creating builds/current...
+$as_echo "Creating builds/current..."
(echo "# This is the most-recently-configured CVC4 build"; \
echo "# 'make' in the top-level source directory applies to this build"; \
echo "CURRENT_BUILD = $target/$build_type") > builds/current
for dir in src test; do
- echo Linking builds/$dir...
- rm -f "builds/$dir"
- ln -sfv "$target/$build_type/$dir" "builds/$dir"
+ $as_echo "Linking builds/$dir..."
+ $RM "builds/$dir"
+ $LN_S "$target/$build_type/$dir" "builds/$dir"
done
AC_MSG_RESULT([this one (in builds/)])
elif test "$CVC4_CONFIGURE_AT_TOP_LEVEL" = yes; then
AC_MSG_RESULT([builds/$target/$build_type])
- echo
+ $as_echo
if test -z "$ac_srcdir"; then
mkbuilddir=./config/mkbuilddir
else
mkbuilddir=$ac_srcdir/config/mkbuilddir
fi
- echo $mkbuilddir "$target" "$build_type"
- $mkbuilddir "$target" "$build_type"
- echo cd "builds/$target/$build_type"
+ $as_echo "$mkbuilddir $target $build_type"
+ source $mkbuilddir "$target" "$build_type"
+ $as_echo "cd builds/$target/$build_type"
cd "builds/$target/$build_type"
CVC4_CONFIGURE_IN_BUILDS=yes; export CVC4_CONFIGURE_IN_BUILDS
- echo ../../../configure $config_cmdline
+ $as_echo "../../../configure $config_cmdline"
`pwd`/../../../configure $config_cmdline
exitval=$?
cd ../../..
if test -z "$CXXTESTGEN"; then
AC_MSG_NOTICE([unit tests disabled, cxxtestgen.pl not found.])
elif test -z "$CXXTEST"; then
- CXXTEST=$(dirname "$CXXTESTGEN")
+ CXXTEST=`dirname "$CXXTESTGEN"`
AC_MSG_CHECKING([for location of CxxTest headers])
if test -e "$CXXTEST/cxxtest/TestRunner.h"; then
AC_MSG_RESULT([$CXXTEST])