[MonoDevelop] Nunit configure patch

Christian Hergert christian.hergert at gmail.com
Mon Apr 3 14:00:18 EDT 2006


patch attached.

On 3/31/06, Matze Braun <matze at braunis.de> wrote:
> Sorry just seen that you do NUNIT_LIBS=$MONO_NUNIT_LIBS. Though this
> still isn't quiet right. You should put quotes around the variables
> otherwise things will go wrong when the variable contains spaces:
>      NUNIT_LIBS="$MONO_NUNIT_LIBS"
>
> NUNIT_LIBS=$NUNIT_LIBS is obviously unnecessary too.
>
> Greetings,
>         Matze
>
> Am Samstag, den 01.04.2006, 00:24 +0200 schrieb Matze Braun:
> > This doesn't look good.
> >
> > The first PKG_CHECK_MODULES will set the MONO_NUNIT_LIBS variable. While
> > the 2nd one sets the NUNIT_LIBS variable which is used later in the
> > Makefiles. So this will fail if mono-nunint is found.
> >
> > Also the AC_SUBST is not needed as PKG_CHECK_MODULES will already do
> > that.
> >
> > Greetings,
> >       Matze
> >
> > Am Freitag, den 31.03.2006, 10:41 -0800 schrieb Christian Hergert:
> > > This patch is more like matze's but includes checking for both known
> > > nunit pkg-config setups.
> > >
> > > On 3/31/06, Matze Braun <matze at braunis.de> wrote:
> > > > Am Donnerstag, den 30.03.2006, 22:48 -0800 schrieb Christian Hergert:
> > > > > Attached is a patch to get things started on the autofoo. Everything
> > > > > seems to work, except the script in AC_ARG_ENABLE doesnt seem to get
> > > > > run unless --enable-nunit={yes|no} is appened to configure. I imagine
> > > > > this is because of the defaults. Any other auto masters out there want
> > > > > to chime in?
> > > > That's because you probably have the PKG_CHECK_MODULES inside the
> > > > AC_ARG_ENABLE part that is executed when an argument has been specified.
> > > > My patch from the first thread in this list should fix this issue.
> > > > Greetings,
> > > >         Matze
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Christian Hergert
> > > Medsphere Systems Corporation
> > > Software Programmer
> > > C: 253 906 2115
>
>


--
Christian Hergert
Medsphere Systems Corporation
Software Programmer
C: 253 906 2115
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nunit.diff
Type: text/x-patch
Size: 2036 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060403/e8f87686/nunit.bin


More information about the Monodevelop-list mailing list