[MonoDevelop] patch to fix configure problems with mono versions lower than 1.1.10

Lluis Sanchez lluis at ximian.com
Wed Jan 25 09:30:51 EST 2006


Patch committed.
Thanks!
Lluis.

El mié, 25-01-2006 a las 00:00 -0800, Muthiah Annamalai escribió:
>  LLuis,
> Here is a patch to fix configure problems with mono versions lower
> than 1.1.10.
> MD actually doesnt do anything if it finds a mono version < 1.1.10.
> It should abort and print a informative message.
> This patch does the job.
> 
> Thanks
> Muthu
> -----------------------------------------------------------------------------------------------------------------------
> Index: configure.in
> ===================================================================
> --- configure.in    (revision 55967)
> +++ configure.in    (working copy)
> @@ -40,6 +40,13 @@
>  PKG_CHECK_MODULES(UNMANAGED_DEPENDENCIES_MONO,mono >=
> $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
>  PKG_CHECK_MODULES(UNMANAGED_DEPENDENCIES_MINT,mint >=
> $MONO_REQUIRED_VERSION, has_mint=true, has_mint=false)
>  
> +if test "x$has_mono" = "xfalse"; then
> +  if test "x$has_mint" = "xfalse"; then
> +      AC_MSG_ERROR([Please install mono version
> $MONO_REQUIRED_VERSION or later to install MonoDevelop.
> +Please see http://www.mono-project.org/ to download latest mono
> sources or packages])
> +  fi
> +fi
> +
>  if test "x$has_mono" = "xtrue"; then
>      if test `uname -s` = "Darwin"; then
>      AC_PATH_PROG(RUNTIME, mono, no)
> Index: ChangeLog
> ===================================================================
> --- ChangeLog    (revision 55967)
> +++ ChangeLog    (working copy)
> @@ -1,3 +1,7 @@
> +2006-01-25  Muthiah Annamalai <muthus_post at yahoo.com>
> +    * configure.in: Report error when $has_mono, and $has_mint flags
> +    are false, due to mono version lower than $MONO_REQUIRED_VERSION.
> +    
>  2006-01-15&nb sp; Jacob Ilsoe Christensen  <jacobilsoe at gmail.com>
>  
>      * monodevelop.desktop:
> 
> 
> 
> ______________________________________________________________________
> Do you Yahoo!?
> With a free 1 GB, there's more in store with Yahoo! Mail.
> _______________________________________________
> 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