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

Muthiah Annamalai muthus_post at yahoo.com
Wed Jan 25 03:00:43 EST 2006


 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  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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060125/8299d278/attachment.html


More information about the Monodevelop-list mailing list