dnl libtermcap is being phased out.
AC_DEFUN([GINAC_TERMCAP],
[LIBTERMCAP=
+case $host_os in
+*mingw32*)
+ ;; dnl no termcap libraries are necessary (need hacked libreadline)
+*)
AC_CHECK_FUNCS(tgetent)
if test "x$ac_cv_func_tgetent" = "xyes"; then
:
AC_CHECK_LIB(termcap, tgetent, LIBTERMCAP="-ltermcap")
fi
fi
+;;
+esac
AC_SUBST(LIBTERMCAP)
])
TESTS = run_exams run_checks run_times
check_PROGRAMS = exams checks times
+TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) srcdir=$(srcdir)
checks_SOURCES = check_numeric.cpp check_inifcns.cpp check_matrices.cpp \
check_lsolve.cpp genex.cpp checks.cpp checks.h
#! /bin/sh
echo "GiNaC will now run through some rather costly random consistency checks:"
-./checks 2>checks.out
+./checks${EXEEXT} 2>checks.out
cmp ${srcdir}/checks.ref checks.out
#! /bin/sh
echo "GiNaC will now take an exam with specific input (like a pupils' exam):"
-./exams 2>exams.out
+./exams${EXEEXT} 2>exams.out
cmp ${srcdir}/exams.ref exams.out
#! /bin/sh
echo "GiNaC will now run through some basic timings:"
-./times 2>times.out
+./times${EXEEXT} 2>times.out
cmp ${srcdir}/times.ref times.out