1 dnl Check for things that check needs/wants and that we don't check for already
2 dnl AM_GST_CHECK_CHECKS()
4 AC_DEFUN([AG_GST_CHECK_CHECKS],
6 AC_MSG_NOTICE([Running check unit test framework checks now...])
11 CHECK_VERSION=$CHECK_MAJOR_VERSION.$CHECK_MINOR_VERSION.$CHECK_MICRO_VERSION
13 AC_SUBST(CHECK_MAJOR_VERSION)
14 AC_SUBST(CHECK_MINOR_VERSION)
15 AC_SUBST(CHECK_MICRO_VERSION)
16 AC_SUBST(CHECK_VERSION)
18 dnl Checks for header files and declarations
19 AC_CHECK_HEADERS([unistd.h sys/wait.h sys/time.h])
21 AC_CHECK_FUNCS([localtime_r])
24 dnl Create _stdint.h in the top-level directory
27 dnl Disable subunit support for the time being
30 if test xfalse = x"$enable_subunit"; then
35 AC_SUBST(ENABLE_SUBUNIT)
36 AC_DEFINE_UNQUOTED(ENABLE_SUBUNIT, $ENABLE_SUBUNIT, [Subunit protocol result output])
38 AM_CONDITIONAL(SUBUNIT, test x"$enable_subunit" != "xfalse")