diff options
author | Paolo Molaro <lupus@oddwiz.org> | 2003-01-15 18:05:13 +0300 |
---|---|---|
committer | Paolo Molaro <lupus@oddwiz.org> | 2003-01-15 18:05:13 +0300 |
commit | e8db8da7ba126b5050888b0a1ddee509e6a10b53 (patch) | |
tree | 32b33197b6e5afc0ebe414b72e6cc499355156e3 /scripts | |
parent | a06259edc852c3603e51e3667c44cc5c8330791c (diff) |
Wed Jan 15 16:02:34 CET 2003 Paolo Molaro <lupus@ximian.com>
Define the correct runtime depending on the availability of the jit
(from Benjamin Reed).
svn path=/trunk/mono/; revision=10541
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 8 | ||||
-rw-r--r-- | scripts/mcs.in | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index e43f643e445..83adcebc03f 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -4,6 +4,12 @@ bin_SCRIPTS = mcs CLEANFILES = mcs +if X86 +MONO_INTERP = mono +else +MONO_INTERP = mint +endif + mcs: mcs.in - sed -e 's^\@bindir\@^$(bindir)^g' < $(srcdir)/mcs.in > mcs.tmp \ + sed -e 's^\@bindir\@^$(bindir)^g' -e 's^\@mono_interp\@^$(MONO_INTERP)^g' < $(srcdir)/mcs.in > mcs.tmp \ && mv mcs.tmp mcs diff --git a/scripts/mcs.in b/scripts/mcs.in index 2528d81d52d..87f82dfeee1 100644 --- a/scripts/mcs.in +++ b/scripts/mcs.in @@ -1,2 +1,2 @@ #!/bin/sh -@bindir@/mono @bindir@/mcs.exe "$@" +@bindir@/@mono_interp@ @bindir@/mcs.exe "$@" |