Author: lluis
Date: 2007-12-13 06:44:18 -0500 (Thu, 13 Dec 2007)
New Revision: 91213

Modified:
   trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/ChangeLog
   
trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/gtk-gui/MonoDevelop.Autotools.TarballBuilderEditorWidget.cs
   
trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/templates/configure.template
Log:
* templates/configure.template: Applied some fixes from the MD config
  script.
* gtk-gui/MonoDevelop.Autotools.TarballBuilderEditorWidget.cs: Updated.

Modified: trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/ChangeLog   
2007-12-13 11:43:05 UTC (rev 91212)
+++ trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/ChangeLog   
2007-12-13 11:44:18 UTC (rev 91213)
@@ -1,3 +1,9 @@
+2007-12-13  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * templates/configure.template: Applied some fixes from the MD config
+         script.
+       * gtk-gui/MonoDevelop.Autotools.TarballBuilderEditorWidget.cs: Updated.
+
 2007-12-12  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Autotools.addin.xml: Bump add-in versions.

Modified: 
trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/gtk-gui/MonoDevelop.Autotools.TarballBuilderEditorWidget.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/gtk-gui/MonoDevelop.Autotools.TarballBuilderEditorWidget.cs
 2007-12-13 11:43:05 UTC (rev 91212)
+++ 
trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/gtk-gui/MonoDevelop.Autotools.TarballBuilderEditorWidget.cs
 2007-12-13 11:44:18 UTC (rev 91213)
@@ -199,6 +199,7 @@
             this.rbAutotools = new 
Gtk.RadioButton(Mono.Unix.Catalog.GetString("Autotools based"));
             this.rbAutotools.CanFocus = true;
             this.rbAutotools.Name = "rbAutotools";
+            this.rbAutotools.Active = true;
             this.rbAutotools.DrawIndicator = true;
             this.rbAutotools.UseUnderline = true;
             this.rbAutotools.Group = new GLib.SList(System.IntPtr.Zero);

Modified: 
trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/templates/configure.template
===================================================================
--- 
trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/templates/configure.template
        2007-12-13 11:43:05 UTC (rev 91212)
+++ 
trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/templates/configure.template
        2007-12-13 11:44:18 UTC (rev 91213)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 VERSION=%%VERSION%%
 PACKAGE=%%PACKAGE%%
 prefix=/usr/local
@@ -51,36 +51,36 @@
 }
 
 while test x$1 != x; do
-        case $1 in
-                --prefix=*)
-                        prefix=`echo $1 | sed 's/--prefix=//'`
-                        ;;
-                --prefix)
-                        echo --prefix needs an argument: --prefix=directory >&2
-
-                        ;;
+               case $1 in
+               --prefix=*)
+                               prefix=`echo $1 | sed 's/--prefix=//'`
+                               ;;
+               --prefix)
+                               shift
+                               prefix=$1
+                               ;;
                --config=*)
-                        conf=`echo $1 | sed 's/--config=//'`
-                       validate_config "$conf"
-                       if [ $? -eq 1 ]; then
-                               config=$conf
-                       else
-                               echo "Invalid config name - $conf"
-                               usage
-                               exit 1
-                       fi
-                        ;;
+                               conf=`echo $1 | sed 's/--config=//'`
+                               validate_config "$conf"
+                               if [ $? -eq 1 ]; then
+                                       config=$conf
+                               else
+                                       echo "Invalid config name - $conf"
+                                       usage
+                                       exit 1
+                               fi
+                ;;
                --help)
                        usage
                        exit
                        ;;
-                *)
-                        echo Unknown argument $1 >&2
+               *)
+                       echo Unknown argument $1 >&2
                        usage
                        exit 1
                        ;;
-        esac
-        shift
+               esac
+               shift
 done
 
 check_required_packages

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to