mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-06 15:38:50 +00:00
Allow to use real nunit instead of mono-nunit and prefer it
This commit is contained in:
parent
77f6d6dc59
commit
0086242f38
1 changed files with 6 additions and 2 deletions
|
@ -144,11 +144,15 @@ if test "x$NUNIT_TESTER" = "xno" ; then
|
||||||
fi
|
fi
|
||||||
AC_SUBST(NUNIT_TESTER)
|
AC_SUBST(NUNIT_TESTER)
|
||||||
|
|
||||||
PKG_CHECK_MODULES(MONO_NUNIT, mono-nunit >= 2.4, do_tests="yes", do_tests="no")
|
PKG_CHECK_MODULES(MONO_NUNIT, nunit >= 2.4,
|
||||||
|
do_tests="yes",
|
||||||
|
[ PKG_CHECK_MODULES(MONO_NUNIT, mono-nunit >= 2.4,
|
||||||
|
do_tests="yes", do_tests="no")
|
||||||
|
])
|
||||||
AC_SUBST(MONO_NUNIT_LIBS)
|
AC_SUBST(MONO_NUNIT_LIBS)
|
||||||
AM_CONDITIONAL(ENABLE_TESTS, test "x$do_tests" = "xyes")
|
AM_CONDITIONAL(ENABLE_TESTS, test "x$do_tests" = "xyes")
|
||||||
if test "x$do_tests" = "xno"; then
|
if test "x$do_tests" = "xno"; then
|
||||||
AC_MSG_WARN([Could not find mono-nunit: tests will not be available])
|
AC_MSG_WARN([Could not find mono-nunit or nunit: tests will not be available])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_SIZEOF(off_t)
|
AC_CHECK_SIZEOF(off_t)
|
||||||
|
|
Loading…
Reference in a new issue