ltlcheck: disable timeout handling when kill() or alarm() are missing

* configure.ac: Check for kill and alarm.
* src/bin/ltlcheck.cc: Disable timeout code when kill or alarm are
missing.  Recognize the --timeout option, but display a warning.
This commit is contained in:
Alexandre Duret-Lutz 2012-10-14 12:49:26 +02:00
parent e46ae2799f
commit f40925f67b
2 changed files with 19 additions and 2 deletions

View file

@ -70,7 +70,7 @@ AX_CHECK_GSPNLIB
AX_CHECK_BOOST([1.34], [103400])
AC_CHECK_HEADERS([sys/times.h])
AC_CHECK_FUNCS([times srand48 drand48])
AC_CHECK_FUNCS([times srand48 drand48 kill alarm])
LT_CONFIG_LTDL_DIR([ltdl])
LT_INIT([win32-dll])