~johannes-rudolph/do/main

« back to all changes in this revision

Viewing changes to m4/shamrock/mono-nunit.m4

  • Committer: Christopher James Halse Rogers
  • Date: 2008-04-27 01:12:26 UTC
  • Revision ID: chalserogers@gmail.com-20080427011226-lvbctxidfnu5fdlb
Add m4/shamrock, taken from the Banshee project.
We currenly only use expansions.m4 to fix the trunk install problems,
but in the future we may wish to use more of this infrastructure

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AC_DEFUN([SHAMROCK_CHECK_MONO_NUNIT],
 
2
[
 
3
        PKG_CHECK_MODULES(MONO_NUNIT, mono-nunit >= 1.0, 
 
4
                do_tests="yes", do_tests="no")
 
5
        
 
6
        AC_SUBST(MONO_NUNIT_LIBS)
 
7
        AM_CONDITIONAL(ENABLE_TESTS, test "x$do_tests" = "xyes")
 
8
 
 
9
        if test "x$do_tests" = "xno"; then
 
10
                AC_MSG_WARN([Could not find mono-nunit: tests will not be available.])
 
11
        fi
 
12
])