[MonoDevelop] Nunit configure patch

Christian Hergert christian.hergert at gmail.com
Wed Mar 29 04:00:30 EST 2006


This doesnt solve the problem. Not all distributions package the mono
provided nunit. Debian/Ubuntu actually package the upstream nunit and
therefore use nunit.pc.

This can be fixed with the following.

dnl nunit
PKG_CHECK_MODULES(NUNIT, nunit >= 2.2.0,
[
  NUNIT_LIBS=$NUNIT_LIBS
],
[
  PKG_CHECK_MODULES(MONO_NUNIT, mono-nunit >= 1.1.9)
  NUNIT_LIBS=$MONO_NUNIT_LIBS
])

This still leaves one issue. This only links against that specific
nunit. You can still have runtime issues if the proper nunit lib isnt
available, or loads another nunit, as the upstream and mono provided
ones are typically slightly different, and suffer from separate bugs
(at least this was the case a while back).

We might just consider providing nunit in contrib and linking directly.

-- Christian

On 3/27/06, Matze Braun <matze at braunis.de> wrote:
> The attached patch fixes some issues with configure not always using
> pkg-config to check for nunit libraries and Makefiles using -r:nunit
> directly.
>
> Greetings,
>         Matze
>
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>
>


More information about the Monodevelop-list mailing list