X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fcsharpcomp.sh.in;h=69e7eb7b39ba876734f972f8c07f0355d49011ad;hb=5017d8d36c2ebe1988adf889e8bff5a025baa3f9;hp=da0d1ba2de1ef09d0885284c0d988b3254ab44ba;hpb=827e2eeff0cde2297c3e320bf9c930ae9757fddd;p=gnulib.git diff --git a/build-aux/csharpcomp.sh.in b/build-aux/csharpcomp.sh.in index da0d1ba2d..69e7eb7b3 100644 --- a/build-aux/csharpcomp.sh.in +++ b/build-aux/csharpcomp.sh.in @@ -1,13 +1,13 @@ #!/bin/sh # Compile a C# program. -# Copyright (C) 2003-2005 Free Software Foundation, Inc. +# Copyright (C) 2003-2006 Free Software Foundation, Inc. # Written by Bruno Haible , 2003. # -# This program is free software; you can redistribute it and/or modify +# This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,8 +15,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# along with this program. If not, see . # This uses the same choices as csharpcomp.c, but instead of relying on the # environment settings at run time, it uses the environment variables @@ -84,19 +83,19 @@ while test $# != 0; do ;; esac options_cscc="$options_cscc -o "`echo "$2" | sed -e "$sed_quote_subst"` - options_mcs="$options_mcs -o "`echo "$2" | sed -e "$sed_quote_subst"` + options_mcs="$options_mcs -out:"`echo "$2" | sed -e "$sed_quote_subst"` options_csc="$options_csc -out:"`echo "$2" | sed -e "$sed_quote_subst"` shift ;; -L) options_cscc="$options_cscc -L "`echo "$2" | sed -e "$sed_quote_subst"` - options_mcs="$options_mcs -L "`echo "$2" | sed -e "$sed_quote_subst"` + options_mcs="$options_mcs -lib:"`echo "$2" | sed -e "$sed_quote_subst"` options_csc="$options_csc -lib:"`echo "$2" | sed -e "$sed_quote_subst"` shift ;; -l) options_cscc="$options_cscc -l "`echo "$2" | sed -e "$sed_quote_subst"` - options_mcs="$options_mcs -r "`echo "$2" | sed -e "$sed_quote_subst"` + options_mcs="$options_mcs -reference:"`echo "$2" | sed -e "$sed_quote_subst"` options_csc="$options_csc -reference:"`echo "$2" | sed -e "$sed_quote_subst"`".dll" shift ;; @@ -106,14 +105,14 @@ while test $# != 0; do ;; -g) options_cscc="$options_cscc -g" - options_mcs="$options_mcs -g" + options_mcs="$options_mcs -debug" options_csc="$options_csc -debug+" ;; -*) echo "csharpcomp: unknown option '$1'" 1>&2 exit 1 ;; - *.resource) + *.resources) options_cscc="$options_cscc -fresources="`echo "$1" | sed -e "$sed_quote_subst"` options_mcs="$options_mcs -resource:"`echo "$1" | sed -e "$sed_quote_subst"` options_csc="$options_csc -resource:"`echo "$1" | sed -e "$sed_quote_subst"`