bytewriter: Use correct gtk-doc workaround
[platform/upstream/gstreamer.git] / check-checks.m4
1 dnl Check for things that check needs/wants and that we don't check for already
2 dnl AM_GST_CHECK_CHECKS()
3
4 AC_DEFUN([AG_GST_CHECK_CHECKS],
5 [
6 AC_MSG_NOTICE([Running check unit test framework checks now...])
7
8 CHECK_MAJOR_VERSION=0
9 CHECK_MINOR_VERSION=9
10 CHECK_MICRO_VERSION=8
11 CHECK_VERSION=$CHECK_MAJOR_VERSION.$CHECK_MINOR_VERSION.$CHECK_MICRO_VERSION
12
13 AC_SUBST(CHECK_MAJOR_VERSION)
14 AC_SUBST(CHECK_MINOR_VERSION)
15 AC_SUBST(CHECK_MICRO_VERSION)
16 AC_SUBST(CHECK_VERSION)
17
18 dnl Checks for header files and declarations
19 AC_CHECK_HEADERS([unistd.h sys/wait.h sys/time.h])
20
21 AC_CHECK_FUNCS([localtime_r])
22
23
24 dnl Create _stdint.h in the top-level directory
25 AX_CREATE_STDINT_H
26
27 dnl Disable subunit support for the time being
28 enable_subunit=false
29
30 if test xfalse = x"$enable_subunit"; then
31 ENABLE_SUBUNIT="0"
32 else
33 ENABLE_SUBUNIT="1"
34 fi
35 AC_SUBST(ENABLE_SUBUNIT)
36 AC_DEFINE_UNQUOTED(ENABLE_SUBUNIT, $ENABLE_SUBUNIT, [Subunit protocol result output])
37
38 AM_CONDITIONAL(SUBUNIT, test x"$enable_subunit" != "xfalse")
39
40 ])