diff options
author | Aaron Bockover <abockover@novell.com> | 2009-05-17 18:16:48 -0400 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2009-05-28 15:57:00 +0100 |
commit | 7a16c20c876ba32e85a4a6ac0a1bd97fc548c114 (patch) | |
tree | 4defae8fd805afd5b36fa5f4add7783326f51a32 | |
parent | d0ee664c77b42c124db3ab66c22ec1305fbdc0c6 (diff) |
Support shaving MCS (Mono C# compiler)
-rw-r--r-- | shave/shave.in | 11 | ||||
-rw-r--r-- | shave/shave.m4 | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/shave/shave.in b/shave/shave.in index afed42e..47a0b76 100644 --- a/shave/shave.in +++ b/shave/shave.in @@ -51,11 +51,15 @@ while test "$#" -gt 0; do case $opt in --shave-mode=*) mode=`echo $opt | $SED -e 's/[-_a-zA-Z0-9]*=//'` - ;; + ;; -o) lt_output="$1" preserved_args="$preserved_args $opt" - ;; + ;; + -out:*|/out:*) + lt_output="${opt:5}" + preserved_args="$preserved_args $opt" + ;; *) preserved_args="$preserved_args $opt" ;; @@ -82,6 +86,9 @@ link,*) *,objc) Q=" OBJC " ;; +*,mcs) + Q=" MCS " + ;; *,*) # should not happen Q=" CC " diff --git a/shave/shave.m4 b/shave/shave.m4 index e647e57..40e47f4 100644 --- a/shave/shave.m4 +++ b/shave/shave.m4 @@ -77,16 +77,19 @@ AC_DEFUN([SHAVE_INIT], SHAVE_SAVED_FC=$FC SHAVE_SAVED_F77=$F77 SHAVE_SAVED_OBJC=$OBJC + SHAVE_SAVED_MCS=$MCS CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}" CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}" FC="${SHELL} ${shavedir}/shave fc ${SHAVE_SAVED_FC}" F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}" OBJC="${SHELL} ${shavedir}/shave objc ${SHAVE_SAVED_OBJC}" + MCS="${SHELL} ${shavedir}/shave mcs ${SHAVE_SAVED_MCS}" AC_SUBST(CC) AC_SUBST(CXX) AC_SUBST(FC) AC_SUBST(F77) AC_SUBST(OBJC) + AC_SUBST(MCS) V=@ else |